diff options
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp')
-rw-r--r-- | WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp index d6187bc..9918e71 100644 --- a/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp +++ b/WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp @@ -29,10 +29,9 @@ #include "config.h" #include "JSCustomSQLTransactionCallback.h" -#include "CString.h" -#include "DOMWindow.h" +#if ENABLE(DATABASE) + #include "Frame.h" -#include "Logging.h" #include "ScriptController.h" #include "JSSQLTransaction.h" #include "Page.h" @@ -120,12 +119,12 @@ void JSCustomSQLTransactionCallback::handleEvent(SQLTransaction* transaction, bo ArgList args; args.append(toJS(exec, transaction)); - globalObject->startTimeoutCheck(); + globalObject->globalData()->timeoutChecker.start(); if (handleEventCallType != CallTypeNone) call(exec, handleEventFunction, handleEventCallType, handleEventCallData, m_data->callback(), args); else call(exec, m_data->callback(), callbackCallType, callbackCallData, m_data->callback(), args); - globalObject->stopTimeoutCheck(); + globalObject->globalData()->timeoutChecker.stop(); if (exec->hadException()) { reportCurrentException(exec); @@ -137,3 +136,5 @@ void JSCustomSQLTransactionCallback::handleEvent(SQLTransaction* transaction, bo } } + +#endif // ENABLE(DATABASE) |