summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
index f1ad740..5333006 100644
--- a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
+++ b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
@@ -29,6 +29,9 @@
*/
#include "config.h"
+
+#if ENABLE(DATABASE)
+
#include "V8CustomSQLTransactionErrorCallback.h"
#include "Frame.h"
@@ -73,3 +76,6 @@ bool V8CustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
}
} // namespace WebCore
+
+#endif
+