summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-06-29 16:59:26 -0700
committerFeng Qian <fqian@google.com>2009-06-29 16:59:26 -0700
commit42e627e846b19766ad309454e56a000aecdc4ca9 (patch)
tree0542756909fab72b83f6f2a76789c5919245ecb6 /WebKit
parent2ac011692daa197e15a21460f3c8d0e7dec53b0a (diff)
downloadexternal_webkit-42e627e846b19766ad309454e56a000aecdc4ca9.zip
external_webkit-42e627e846b19766ad309454e56a000aecdc4ca9.tar.gz
external_webkit-42e627e846b19766ad309454e56a000aecdc4ca9.tar.bz2
Remove incorrect comments
Also no need to change order between libv8 and libxml2.
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp4
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());