Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3017)

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 169173003: content: Do not call empty methods of WebScriptController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_webkit_platform_support.cc
diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
index dedad35d2e77c8ae39d404237945bc3846cf08f2..524ee66d44e65e5324320aad81280e5ff0684ed3 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -28,7 +28,6 @@
#include "third_party/WebKit/public/web/WebDatabase.h"
#include "third_party/WebKit/public/web/WebKit.h"
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
-#include "third_party/WebKit/public/web/WebScriptController.h"
#include "third_party/WebKit/public/web/WebSecurityPolicy.h"
#include "third_party/WebKit/public/web/WebStorageEventDispatcher.h"
#include "v8/include/v8.h"
@@ -40,7 +39,6 @@
#include "base/mac/mac_util.h"
#endif
-using blink::WebScriptController;
using webkit::WebLayerTreeViewImplForTesting;
namespace content {
@@ -60,7 +58,6 @@ TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
blink::WebString::fromUTF8("test-shell-resource"));
blink::WebSecurityPolicy::registerURLSchemeAsEmptyDocument(
blink::WebString::fromUTF8("test-shell-resource"));
- WebScriptController::enableV8SingleThreadMode();
blink::WebRuntimeFeatures::enableApplicationCache(true);
blink::WebRuntimeFeatures::enableDatabase(true);
blink::WebRuntimeFeatures::enableNotifications(true);
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698