summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/quota/DOMWindowQuota.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/quota/DOMWindowQuota.h')
-rw-r--r--Source/WebCore/Modules/quota/DOMWindowQuota.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/Modules/quota/DOMWindowQuota.h b/Source/WebCore/Modules/quota/DOMWindowQuota.h
index ccd434aa3..62d0812db 100644
--- a/Source/WebCore/Modules/quota/DOMWindowQuota.h
+++ b/Source/WebCore/Modules/quota/DOMWindowQuota.h
@@ -28,8 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMWindowQuota_h
-#define DOMWindowQuota_h
+#pragma once
#if ENABLE(QUOTA)
@@ -43,13 +42,13 @@ class StorageInfo;
class DOMWindowQuota : public Supplement<DOMWindow>, public DOMWindowProperty {
public:
+ explicit DOMWindowQuota(DOMWindow*);
virtual ~DOMWindowQuota();
static DOMWindowQuota* from(DOMWindow*);
static StorageInfo* webkitStorageInfo(DOMWindow*);
StorageInfo* webkitStorageInfo() const;
private:
- explicit DOMWindowQuota(DOMWindow*);
static const char* supplementName();
mutable RefPtr<StorageInfo> m_storageInfo;
@@ -58,5 +57,3 @@ private:
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // DOMWindowQuota_h