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

Unified Diff: content/public/test/render_view_test.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/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index e6555d0770dd63249d6d5218c4ca1d7e9e3bd49d..b0134927d3114a53208bf07bfef4324e161b0775 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -5,6 +5,7 @@
#include "content/public/test/render_view_test.h"
#include "base/run_loop.h"
+#include "content/child/child_thread.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
@@ -26,7 +27,6 @@
#include "third_party/WebKit/public/web/WebScriptSource.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "ui/base/resource/resource_bundle.h"
-#include "webkit/glue/webkit_glue.h"
using blink::WebFrame;
using blink::WebInputEvent;
@@ -150,7 +150,7 @@ void RenderViewTest::SetUp() {
// Setting flags and really doing anything with WebKit is fairly fragile and
// hacky, but this is the world we live in...
- webkit_glue::SetJavaScriptFlags(" --expose-gc");
+ ChildThread::SetJavaScriptFlags(" --expose-gc");
blink::initialize(webkit_platform_support_.Get());
// Ensure that we register any necessary schemes when initializing WebKit,

Powered by Google App Engine
This is Rietveld 408576698