diff options
Diffstat (limited to 'Source/WebCore/bindings/js/ScriptCallStackFactory.cpp')
-rw-r--r-- | Source/WebCore/bindings/js/ScriptCallStackFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp b/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp index 94cd127..a266449 100644 --- a/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp +++ b/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp @@ -88,7 +88,7 @@ PassRefPtr<ScriptArguments> createScriptArguments(JSC::ExecState* exec, unsigned Vector<ScriptValue> arguments; size_t argumentCount = exec->argumentCount(); for (size_t i = skipArgumentCount; i < argumentCount; ++i) - arguments.append(ScriptValue(exec->argument(i))); + arguments.append(ScriptValue(exec->globalData(), exec->argument(i))); return ScriptArguments::create(exec, arguments); } |