summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h')
-rw-r--r--WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h b/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h
index ac4e45f..b1b0792 100644
--- a/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h
+++ b/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.h
@@ -31,16 +31,15 @@
#if ENABLE(DATABASE)
-#include "JSDOMGlobalObject.h"
+#include "JSCallbackData.h"
#include "SQLStatementErrorCallback.h"
-#include <runtime/Protect.h>
#include <wtf/Forward.h>
namespace WebCore {
-class JSCallbackData;
+class JSCallbackData;
class SQLError;
-
+
class JSCustomSQLStatementErrorCallback : public SQLStatementErrorCallback {
public:
static PassRefPtr<JSCustomSQLStatementErrorCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)
@@ -50,17 +49,17 @@ public:
virtual ~JSCustomSQLStatementErrorCallback();
- virtual bool handleEvent(SQLTransaction*, SQLError*);
+ virtual bool handleEvent(ScriptExecutionContext*, SQLTransaction*, SQLError*);
private:
JSCustomSQLStatementErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject*);
JSCallbackData* m_data;
+ RefPtr<DOMWrapperWorld> m_isolatedWorld;
};
-
+
}
#endif // ENABLE(DATABASE)
#endif // JSCustomSQLStatementErrorCallback_h
-