summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp')
-rw-r--r--WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp b/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp
index 2324d04..f6e59f6 100644
--- a/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp
+++ b/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp
@@ -29,6 +29,8 @@
#include "config.h"
#include "JSCustomSQLTransactionErrorCallback.h"
+#if ENABLE(DATABASE)
+
#include "Frame.h"
#include "ScriptController.h"
#include "JSSQLError.h"
@@ -88,3 +90,5 @@ bool JSCustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
}
}
+
+#endif // ENABLE(DATABASE)