OSDN Git Service

Clarify comments about initialising V8 in WebViewCore ctor.
authorBen Murdoch <benm@google.com>
Fri, 10 Jun 2011 16:13:42 +0000 (17:13 +0100)
committerBen Murdoch <benm@google.com>
Fri, 10 Jun 2011 16:13:42 +0000 (17:13 +0100)
Change-Id: Icad45701d81d3ff07470ee2f6d2087c3a3252e84

Source/WebKit/android/jni/WebViewCore.cpp

index a2db69d..dc919d8 100644 (file)
@@ -434,8 +434,9 @@ WebViewCore::WebViewCore(JNIEnv* env, jobject javaWebViewCore, WebCore::Frame* m
 #endif
 
 #if USE(V8)
-    // FIXME: This is a work-around for a V8 bug regarding initializing the
-    // default isolate and should be removed when it is fixed.
+    // Static initialisation of certain important V8 static data gets performed at system startup when
+    // libwebcore gets loaded. We now need to associate the WebCore thread with V8 to complete
+    // initialisation.
     v8::V8::Initialize();
 #endif
 }