summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index a2db69d..dc919d8 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -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
}