summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-06-10 17:13:42 +0100
committerBen Murdoch <benm@google.com>2011-06-10 17:13:42 +0100
commitf39c311e7f4b205e38b987fd23552e7ee8ecb620 (patch)
tree37abd8e895679396dde9d4e602df05732568ab3c /Source
parent3d801f649dec3e305e732e5bef49477b1bf35879 (diff)
downloadexternal_webkit-f39c311e7f4b205e38b987fd23552e7ee8ecb620.zip
external_webkit-f39c311e7f4b205e38b987fd23552e7ee8ecb620.tar.gz
external_webkit-f39c311e7f4b205e38b987fd23552e7ee8ecb620.tar.bz2
Clarify comments about initialising V8 in WebViewCore ctor.
Change-Id: Icad45701d81d3ff07470ee2f6d2087c3a3252e84
Diffstat (limited to 'Source')
-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
}