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/v8/custom/V8CustomSQLStatementCallback.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h') diff --git a/WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h b/WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h index 5c4b368..58ee943 100644 --- a/WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h +++ b/WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h @@ -31,6 +31,8 @@ #ifndef V8CustomSQLStatementCallback_h #define V8CustomSQLStatementCallback_h +#if ENABLE(DATABASE) + #include "SQLStatementCallback.h" #include #include @@ -59,4 +61,6 @@ private: } // namespace WebCore +#endif + #endif // V8CustomSQLStatementCallback_h -- cgit v1.1