diff options
Diffstat (limited to 'Source/WebCore/bindings/js/PageScriptDebugServer.cpp')
-rwxr-xr-x | Source/WebCore/bindings/js/PageScriptDebugServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/PageScriptDebugServer.cpp b/Source/WebCore/bindings/js/PageScriptDebugServer.cpp index 10bb8c8f6..ff0aeefb5 100755 --- a/Source/WebCore/bindings/js/PageScriptDebugServer.cpp +++ b/Source/WebCore/bindings/js/PageScriptDebugServer.cpp @@ -110,7 +110,7 @@ void PageScriptDebugServer::removeListener(ScriptDebugListener* listener, Page* void PageScriptDebugServer::recompileAllJSFunctions(Timer<ScriptDebugServer>*) { - JSLock lock(SilenceAssertionsOnly); + JSLockHolder lock(JSDOMWindow::commonJSGlobalData()); // If JavaScript stack is not empty postpone recompilation. if (JSDOMWindow::commonJSGlobalData()->dynamicGlobalObject) recompileAllJSFunctionsSoon(); |