diff options
Diffstat (limited to 'WebCore/bridge/jni/jni_jsobject.mm')
-rw-r--r-- | WebCore/bridge/jni/jni_jsobject.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/bridge/jni/jni_jsobject.mm b/WebCore/bridge/jni/jni_jsobject.mm index 301d672..3689840 100644 --- a/WebCore/bridge/jni/jni_jsobject.mm +++ b/WebCore/bridge/jni/jni_jsobject.mm @@ -302,9 +302,9 @@ jobject JavaJSObject::call(jstring methodName, jobjectArray args) const // Call the function object. ArgList argList; getListFromJArray(exec, args, argList); - rootObject->globalObject()->startTimeoutCheck(); + rootObject->globalObject()->globalData()->timeoutChecker.start(); JSValuePtr result = JSC::call(exec, function, callType, callData, _imp, argList); - rootObject->globalObject()->stopTimeoutCheck(); + rootObject->globalObject()->globalData()->timeoutChecker.stop(); return convertValueToJObject(result); } @@ -321,9 +321,9 @@ jobject JavaJSObject::eval(jstring script) const if (!rootObject) return 0; - rootObject->globalObject()->startTimeoutCheck(); + rootObject->globalObject()->globalData()->timeoutChecker.start(); Completion completion = JSC::evaluate(rootObject->globalObject()->globalExec(), rootObject->globalObject()->globalScopeChain(), makeSource(JavaString(script))); - rootObject->globalObject()->stopTimeoutCheck(); + rootObject->globalObject()->globalData()->timeoutChecker.stop(); ComplType type = completion.complType(); if (type == Normal) { |