| 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..ddf9708f967f1c0688131fd53ed64cde719d21b5 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");
|
| + static const char expose_gc_flag[] = "--expose-gc";
|
| + v8::V8::SetFlagsFromString(expose_gc_flag, sizeof(expose_gc_flag) - 1);
|
| }
|
|
|
| TestWebKitPlatformSupport::~TestWebKitPlatformSupport() {
|
|
|