summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-29 22:43:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-29 22:43:41 -0700
commit706f458abee90f0fbf6aaf234e85f7788ea3beac (patch)
tree17a9aab3338307f999b19a02caa372425a38e6d6 /WebKit
parent0519c65e2884fdc6cbfd79c108c2941de60c8fc8 (diff)
parent42e627e846b19766ad309454e56a000aecdc4ca9 (diff)
downloadexternal_webkit-706f458abee90f0fbf6aaf234e85f7788ea3beac.zip
external_webkit-706f458abee90f0fbf6aaf234e85f7788ea3beac.tar.gz
external_webkit-706f458abee90f0fbf6aaf234e85f7788ea3beac.tar.bz2
Merge change 5717
* changes: Remove incorrect comments
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());