Chromium Code Reviews| 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..21f90c43338894ed4fe611581e8c745f7c1f686b 100644 |
| --- a/content/public/test/render_view_test.cc |
| +++ b/content/public/test/render_view_test.cc |
| @@ -26,7 +26,7 @@ |
| #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" |
| +#include "v8/include/v8.h" |
| using blink::WebFrame; |
| using blink::WebInputEvent; |
| @@ -150,7 +150,8 @@ 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"); |
| + static const char expose_gc_flags[] = "--expose-gc"; |
|
jam
2014/01/28 07:01:26
nit: seems this would be clearer with just
std::st
tfarina
2014/01/28 12:20:31
Done.
|
| + v8::V8::SetFlagsFromString(expose_gc_flags, sizeof(expose_gc_flags) - 1); |
| blink::initialize(webkit_platform_support_.Get()); |
| // Ensure that we register any necessary schemes when initializing WebKit, |