diff options
Diffstat (limited to 'WebCore/bindings/js/JSCustomPositionCallback.cpp')
-rw-r--r-- | WebCore/bindings/js/JSCustomPositionCallback.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/bindings/js/JSCustomPositionCallback.cpp b/WebCore/bindings/js/JSCustomPositionCallback.cpp index cae1e1e..6b0bb43 100644 --- a/WebCore/bindings/js/JSCustomPositionCallback.cpp +++ b/WebCore/bindings/js/JSCustomPositionCallback.cpp @@ -26,10 +26,8 @@ #include "config.h" #include "JSCustomPositionCallback.h" -#include "CString.h" #include "Frame.h" #include "JSGeoposition.h" -#include "Page.h" #include "ScriptController.h" #include <runtime/JSLock.h> @@ -73,14 +71,16 @@ void JSCustomPositionCallback::handleEvent(Geoposition* geoposition, bool& raise ArgList args; args.append(toJS(exec, geoposition)); - 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); raisedException = true; } + + Document::updateDocumentsRendering(); } } // namespace WebCore |