diff options
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLStatementCallback.cpp')
-rw-r--r-- | WebCore/bindings/js/JSCustomSQLStatementCallback.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLStatementCallback.cpp b/WebCore/bindings/js/JSCustomSQLStatementCallback.cpp index f61306c..4b9ff8a 100644 --- a/WebCore/bindings/js/JSCustomSQLStatementCallback.cpp +++ b/WebCore/bindings/js/JSCustomSQLStatementCallback.cpp @@ -28,9 +28,8 @@ #include "config.h" #include "JSCustomSQLStatementCallback.h" +#if ENABLE(DATABASE) -#include "CString.h" -#include "DOMWindow.h" #include "Frame.h" #include "ScriptController.h" #include "JSSQLResultSet.h" @@ -78,9 +77,9 @@ void JSCustomSQLStatementCallback::handleEvent(SQLTransaction* transaction, SQLR args.append(toJS(exec, transaction)); args.append(toJS(exec, resultSet)); - globalObject->startTimeoutCheck(); + globalObject->globalData()->timeoutChecker.start(); call(exec, function, callType, callData, m_callback, args); - globalObject->stopTimeoutCheck(); + globalObject->globalData()->timeoutChecker.stop(); if (exec->hadException()) { reportCurrentException(exec); @@ -92,3 +91,5 @@ void JSCustomSQLStatementCallback::handleEvent(SQLTransaction* transaction, SQLR } } + +#endif // ENABLE(DATABASE) |