summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/ScriptFunctionCall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/ScriptFunctionCall.cpp')
-rw-r--r--WebCore/bindings/js/ScriptFunctionCall.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bindings/js/ScriptFunctionCall.cpp b/WebCore/bindings/js/ScriptFunctionCall.cpp
index e9073b5..3784457 100644
--- a/WebCore/bindings/js/ScriptFunctionCall.cpp
+++ b/WebCore/bindings/js/ScriptFunctionCall.cpp
@@ -32,6 +32,7 @@
#include "ScriptFunctionCall.h"
#include "JSDOMBinding.h"
+#include "JSMainThreadExecState.h"
#include "ScriptString.h"
#include "ScriptValue.h"
@@ -146,7 +147,7 @@ ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
if (callType == CallTypeNone)
return ScriptValue();
- JSValue result = JSC::call(m_exec, function, callType, callData, thisObject, m_arguments);
+ JSValue result = JSMainThreadExecState::call(m_exec, function, callType, callData, thisObject, m_arguments);
if (m_exec->hadException()) {
if (reportExceptions)
reportException(m_exec, m_exec->exception());