summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h')
-rw-r--r--WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h b/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h
index 54bf33b..bb92393 100644
--- a/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h
+++ b/WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h
@@ -31,9 +31,8 @@
#if ENABLE(DATABASE)
+#include "JSCallbackData.h"
#include "SQLTransactionErrorCallback.h"
-#include "JSDOMGlobalObject.h"
-#include <runtime/Protect.h>
#include <wtf/Forward.h>
namespace WebCore {
@@ -47,15 +46,16 @@ public:
{
return adoptRef(new JSCustomSQLTransactionErrorCallback(callback, globalObject));
}
-
+
virtual ~JSCustomSQLTransactionErrorCallback();
-
- virtual void handleEvent(SQLError*);
+
+ virtual void handleEvent(ScriptExecutionContext*, SQLError*);
private:
JSCustomSQLTransactionErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
JSCallbackData* m_data;
+ RefPtr<DOMWrapperWorld> m_isolatedWorld;
};
}