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:
14a561b
)
Disable Crankshaft at runtime for performace testing.
author
Ben Murdoch
<benm@google.com>
Thu, 28 Jul 2011 19:21:09 +0000
(20:21 +0100)
committer
Ben Murdoch
<benm@google.com>
Thu, 28 Jul 2011 19:21:09 +0000
(20:21 +0100)
Bug:
5052287
Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505
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
1c51b14
..
a883075
100644
(file)
--- a/
Source/WebKit/android/jni/WebViewCore.cpp
+++ b/
Source/WebKit/android/jni/WebViewCore.cpp
@@
-437,6
+437,7
@@
WebViewCore::WebViewCore(JNIEnv* env, jobject javaWebViewCore, WebCore::Frame* m
// 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.
+ WebCore::ScriptController::setFlags("--nocrankshaft", strlen("--nocrankshaft"));
v8::V8::Initialize();
#endif
}