summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/OriginQuotaManager.cpp
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2009-05-13 17:58:43 +0100
committerBen Murdoch <benm@google.com>2009-05-15 11:38:01 +0100
commit8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d (patch)
treead83ccc3e517a60955ebedbfc855a4a97558f508 /WebCore/storage/OriginQuotaManager.cpp
parent8fe05189c51b0ae29ba6f8c9d4c86fa288110707 (diff)
downloadexternal_webkit-8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d.zip
external_webkit-8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d.tar.gz
external_webkit-8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d.tar.bz2
Apply fixes for webkit bugs 24776 and 25616 to add ENABLE(DATABASE) guards. This makes the macro work, so ENABLE_DATABASE can be toggled in config.h and the JavaScriptCore.derived.mk or V8Bindings.derived.mk.
Diffstat (limited to 'WebCore/storage/OriginQuotaManager.cpp')
-rw-r--r--WebCore/storage/OriginQuotaManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/storage/OriginQuotaManager.cpp b/WebCore/storage/OriginQuotaManager.cpp
index fa2a580..2b98ab7 100644
--- a/WebCore/storage/OriginQuotaManager.cpp
+++ b/WebCore/storage/OriginQuotaManager.cpp
@@ -28,6 +28,8 @@
#include "config.h"
#include "OriginQuotaManager.h"
+#if ENABLE(DATABASE)
+
#include "Database.h"
#include "OriginUsageRecord.h"
@@ -121,3 +123,5 @@ unsigned long long OriginQuotaManager::diskUsage(SecurityOrigin* origin) const
}
+
+#endif // ENABLE(DATABASE)