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