Index: content/test/ppapi/ppapi_test.cc |
diff --git a/content/test/ppapi/ppapi_test.cc b/content/test/ppapi/ppapi_test.cc |
index 20d4c6dc8ac367823d4b8736cc798354c3313708..50f7423eb48213e5a3e3ccd9af3a86e615e703f1 100644 |
--- a/content/test/ppapi/ppapi_test.cc |
+++ b/content/test/ppapi/ppapi_test.cc |
@@ -49,6 +49,9 @@ void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) { |
// Smooth scrolling confuses the scrollbar test. |
command_line->AppendSwitch(switches::kDisableSmoothScrolling); |
+ |
+ // Allow manual garbage collection. |
+ command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose_gc"); |
} |
GURL PPAPITestBase::GetTestFileUrl(const std::string& test_case) { |