Index: content/shell/webkit_test_controller.cc |
diff --git a/content/shell/webkit_test_controller.cc b/content/shell/webkit_test_controller.cc |
index 7772f5346e89a1ca531a03a90696b7eb9f74f491..539e16b83e4a23a7f0b9194dae72886af2e1e87a 100644 |
--- a/content/shell/webkit_test_controller.cc |
+++ b/content/shell/webkit_test_controller.cc |
@@ -176,10 +176,6 @@ bool WebKitTestController::PrepareForLayoutTest( |
initial_size); |
WebContentsObserver::Observe(main_window_->web_contents()); |
main_window_->LoadURL(test_url); |
- if (test_url.spec().find("/dumpAsText/") != std::string::npos) |
- enable_pixel_dumping_ = false; |
- if (test_url.spec().find("/inspector/") != std::string::npos) |
- main_window_->ShowDevTools(); |
main_window_->web_contents()->GetRenderViewHost()->Focus(); |
main_window_->web_contents()->GetRenderViewHost()->SetActive(true); |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTimeout)) { |