From 8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 13 May 2009 17:58:43 +0100 Subject: 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. --- WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp') diff --git a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp index 9960a0e..9918e71 100644 --- a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp +++ b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp @@ -29,6 +29,8 @@ #include "config.h" #include "JSCustomSQLTransactionCallback.h" +#if ENABLE(DATABASE) + #include "Frame.h" #include "ScriptController.h" #include "JSSQLTransaction.h" @@ -134,3 +136,5 @@ void JSCustomSQLTransactionCallback::handleEvent(SQLTransaction* transaction, bo } } + +#endif // ENABLE(DATABASE) -- cgit v1.1