Index: webkit/tools/test_shell/test_shell_main.cc |
=================================================================== |
--- webkit/tools/test_shell/test_shell_main.cc (revision 5350) |
+++ webkit/tools/test_shell/test_shell_main.cc (working copy) |
@@ -257,6 +257,8 @@ |
// Test shell always exposes the GC. |
CommandLine::AppendSwitch(&js_flags, L"expose-gc"); |
webkit_glue::SetJavaScriptFlags(js_flags); |
+ // Also expose GCController to JavaScript. |
+ webkit_glue::SetShouldExposeGCController(true); |
// load and initialize the stats table. |
StatsTable *table = new StatsTable(kStatsFile, kStatsFileThreads, kStatsFileCounters); |