summaryrefslogtreecommitdiff
path: root/Source/WebCore/bridge/qt/qt_runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bridge/qt/qt_runtime.cpp')
-rw-r--r--Source/WebCore/bridge/qt/qt_runtime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/bridge/qt/qt_runtime.cpp b/Source/WebCore/bridge/qt/qt_runtime.cpp
index 4859faee3..9a600097b 100644
--- a/Source/WebCore/bridge/qt/qt_runtime.cpp
+++ b/Source/WebCore/bridge/qt/qt_runtime.cpp
@@ -1591,6 +1591,7 @@ void QtConnectionObject::execute(void** argv)
JSValueRef callException = 0;
ExecState* exec = toJS(m_context);
+ JSLockHolder lock(exec);
JSObjectCallAsFunction(m_context, m_receiverFunction, m_receiver, argc, args.data(), &callException);
if (callException)
WebCore::reportException(exec, toJS(exec, callException));