summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/jsc
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/jsc')
-rw-r--r--WebCore/bridge/jsc/BridgeJSC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bridge/jsc/BridgeJSC.cpp b/WebCore/bridge/jsc/BridgeJSC.cpp
index 3d8f62d..d44cdb5 100644
--- a/WebCore/bridge/jsc/BridgeJSC.cpp
+++ b/WebCore/bridge/jsc/BridgeJSC.cpp
@@ -98,7 +98,7 @@ RuntimeObject* Instance::createRuntimeObject(ExecState* exec)
RuntimeObject* Instance::newRuntimeObject(ExecState* exec)
{
JSLock lock(SilenceAssertionsOnly);
- return new (exec)RuntimeObject(exec, this);
+ return new (exec)RuntimeObject(exec, exec->lexicalGlobalObject(), this);
}
void Instance::willDestroyRuntimeObject()