diff options
Diffstat (limited to 'Source/WebKit/efl/ewk/ewk_frame.cpp')
-rw-r--r-- | Source/WebKit/efl/ewk/ewk_frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/efl/ewk/ewk_frame.cpp b/Source/WebKit/efl/ewk/ewk_frame.cpp index 6ba941d35..67a9bc82c 100644 --- a/Source/WebKit/efl/ewk/ewk_frame.cpp +++ b/Source/WebKit/efl/ewk/ewk_frame.cpp @@ -455,8 +455,8 @@ char* ewk_frame_script_execute(Evas_Object* ewkFrame, const char* script) if (!result || (!result.isBoolean() && !result.isString() && !result.isNumber())) return 0; - JSC::JSLock lock(JSC::SilenceAssertionsOnly); JSC::ExecState* exec = smartData->frame->script()->globalObject(WebCore::mainThreadNormalWorld())->globalExec(); + JSC::JSLockHolder lock(exec); resultString = WebCore::ustringToString(result.toString(exec)->value(exec)); return strdup(resultString.utf8().data()); #else |