Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index e21a0cfb5f8c11bf67abe76311a6428fa0088b4c..b18f46a0006c14fbc2cf90d32dbd68971da60c96 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -112,13 +112,12 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
} |
} |
if (command_line.HasSwitch(switches::kDumpRenderTree)) { |
+ EnableBrowserLayoutTestMode(); |
+ |
command_line.AppendSwitch(switches::kProcessPerTab); |
command_line.AppendSwitch(switches::kAllowFileAccessFromFiles); |
command_line.AppendSwitchASCII( |
switches::kUseGL, gfx::kGLImplementationOSMesaName); |
- SetAllowOSMesaImageTransportForTesting(); |
- DisableSystemDragDrop(); |
- DisableModalPopupMenus(); |
command_line.AppendSwitch(switches::kSkipGpuDataLoading); |
command_line.AppendSwitch(switches::kEnableExperimentalWebKitFeatures); |
command_line.AppendSwitch(switches::kEnableCssShaders); |