summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/js/PageScriptDebugServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/js/PageScriptDebugServer.cpp')
-rwxr-xr-xSource/WebCore/bindings/js/PageScriptDebugServer.cpp2
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();