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

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 147973002: Move SetJavaScriptFlags() from webkit to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
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 373953576f6def030c433eae475b2b07097cf54d..af9441243f7f259a4c3425568c8ceae98b494b03 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -11,6 +11,7 @@
#include "base/metrics/stats_counters.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
+#include "content/child/child_thread.h"
#include "content/public/common/content_switches.h"
#include "content/test/mock_webclipboard_impl.h"
#include "content/test/web_gesture_curve_mock.h"
@@ -35,7 +36,6 @@
#include "webkit/browser/database/vfs_backend.h"
#include "webkit/child/webkitplatformsupport_impl.h"
#include "webkit/glue/simple_webmimeregistry_impl.h"
-#include "webkit/glue/webkit_glue.h"
#include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h"
#if defined(OS_WIN)
@@ -104,7 +104,7 @@ TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnableFileCookies);
// Test shell always exposes the GC.
- webkit_glue::SetJavaScriptFlags(" --expose-gc");
+ ChildThread::SetJavaScriptFlags(" --expose-gc");
}
TestWebKitPlatformSupport::~TestWebKitPlatformSupport() {

Powered by Google App Engine
This is Rietveld 408576698