OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d801f6
)
Clarify comments about initialising V8 in WebViewCore ctor.
author
Ben Murdoch
<benm@google.com>
Fri, 10 Jun 2011 16:13:42 +0000
(17:13 +0100)
committer
Ben Murdoch
<benm@google.com>
Fri, 10 Jun 2011 16:13:42 +0000
(17:13 +0100)
Change-Id: Icad45701d81d3ff07470ee2f6d2087c3a3252e84
Source/WebKit/android/jni/WebViewCore.cpp
patch
|
blob
|
history
diff --git
a/Source/WebKit/android/jni/WebViewCore.cpp
b/Source/WebKit/android/jni/WebViewCore.cpp
index
a2db69d
..
dc919d8
100644
(file)
--- 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
}