| 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..f013d77087a398a0c1e21a30a8610a2e78c8db30 100644
|
| --- a/content/test/test_webkit_platform_support.cc
|
| +++ b/content/test/test_webkit_platform_support.cc
|
| @@ -35,7 +35,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 +103,8 @@ TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
|
| CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnableFileCookies);
|
|
|
| // Test shell always exposes the GC.
|
| - webkit_glue::SetJavaScriptFlags(" --expose-gc");
|
| + std::string flags("--expose-gc");
|
| + v8::V8::SetFlagsFromString(flags.c_str(), static_cast<int>(flags.size()));
|
| }
|
|
|
| TestWebKitPlatformSupport::~TestWebKitPlatformSupport() {
|
|
|