diff options
Diffstat (limited to 'WebKit/android/jni/WebViewCore.cpp')
-rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index a879b6f..10b34ad 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/WebKit/android/jni/WebViewCore.cpp @@ -2390,10 +2390,6 @@ static void DumpNavTree(JNIEnv *env, jobject obj) static void SetJsFlags(JNIEnv *env, jobject obj, jstring flags) { #if USE(V8) - // This code is called from UI thread, but it is safe to call setFlags - // on ScriptController since it initializes global variables only. - // As long as the WebCore thread does not change the default JS flags, - // it is safe to call it here. WebCore::String flagsString = to_string(env, flags); WebCore::CString utf8String = flagsString.utf8(); WebCore::ScriptController::setFlags(utf8String.data(), utf8String.length()); |