summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp')
-rw-r--r--WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp
index 3e3bcce..d6187bc 100644
--- a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp
+++ b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp
@@ -30,7 +30,6 @@
#include "JSCustomSQLTransactionCallback.h"
#include "CString.h"
-#include "Console.h"
#include "DOMWindow.h"
#include "Frame.h"
#include "Logging.h"
@@ -102,9 +101,9 @@ void JSCustomSQLTransactionCallback::handleEvent(SQLTransaction* transaction, bo
JSC::JSLock lock(false);
- JSValue* handleEventFunction = m_data->callback()->get(exec, Identifier(exec, "handleEvent"));
+ JSValuePtr handleEventFunction = m_data->callback()->get(exec, Identifier(exec, "handleEvent"));
CallData handleEventCallData;
- CallType handleEventCallType = handleEventFunction->getCallData(handleEventCallData);
+ CallType handleEventCallType = handleEventFunction.getCallData(handleEventCallData);
CallData callbackCallData;
CallType callbackCallType = CallTypeNone;
@@ -129,7 +128,7 @@ void JSCustomSQLTransactionCallback::handleEvent(SQLTransaction* transaction, bo
globalObject->stopTimeoutCheck();
if (exec->hadException()) {
- m_data->frame()->domWindow()->console()->reportCurrentException(exec);
+ reportCurrentException(exec);
raisedException = true;
}