| Index: webkit/tools/test_shell/test_shell_main.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_shell_main.cc (revision 2301)
|
| +++ webkit/tools/test_shell/test_shell_main.cc (working copy)
|
| @@ -195,6 +195,9 @@
|
| bool interactive = !layout_test_mode;
|
| TestShell::InitializeTestShell(interactive);
|
|
|
| + if (parsed_command_line.HasSwitch(test_shell::kAllowScriptsToCloseWindows))
|
| + TestShell::SetAllowScriptsToCloseWindows();
|
| +
|
| // Disable user themes for layout tests so pixel tests are consistent.
|
| if (!interactive)
|
| gfx::NativeTheme::instance()->DisableTheming();
|
|
|