From 7178bcff68f2abc8fefe50fa62b7043663034c05 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 28 Jul 2011 20:21:09 +0100 Subject: Disable Crankshaft at runtime for performace testing. Bug: 5052287 Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505 --- Source/WebKit/android/jni/WebViewCore.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/WebKit/android/jni/WebViewCore.cpp') diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp index 1c51b14..a883075 100644 --- 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 } -- cgit v1.1