OSDN Git Service

Revert "Disable Crankshaft at runtime for performace testing."
authorBen Murdoch <benm@google.com>
Tue, 9 Aug 2011 17:26:14 +0000 (18:26 +0100)
committerBen Murdoch <benm@google.com>
Tue, 9 Aug 2011 17:26:14 +0000 (18:26 +0100)
This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05.

Bug: 5052287

Source/WebKit/android/jni/WebViewCore.cpp

index a883075..1c51b14 100644 (file)
@@ -437,7 +437,6 @@ 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
 }