Index: content/shell/browser/layout_test/layout_test_devtools_frontend.cc |
diff --git a/content/shell/browser/layout_test/layout_test_devtools_frontend.cc b/content/shell/browser/layout_test/layout_test_devtools_frontend.cc |
index c8941c616bfc799e4350cc95bd752c2dcb6ba6f0..651f0a4e77a15d574f0e738017a3a6df59ee0374 100644 |
--- a/content/shell/browser/layout_test/layout_test_devtools_frontend.cc |
+++ b/content/shell/browser/layout_test/layout_test_devtools_frontend.cc |
@@ -33,15 +33,6 @@ LayoutTestDevToolsFrontend* LayoutTestDevToolsFrontend::Show( |
return devtools_frontend; |
} |
-LayoutTestDevToolsFrontend::LayoutTestDevToolsFrontend( |
- Shell* frontend_shell, |
- DevToolsAgentHost* agent_host) |
- : ShellDevToolsFrontend(frontend_shell, agent_host) { |
-} |
- |
-LayoutTestDevToolsFrontend::~LayoutTestDevToolsFrontend() { |
-} |
- |
// static. |
GURL LayoutTestDevToolsFrontend::GetDevToolsPathAsURL( |
const std::string& settings, |
@@ -70,6 +61,20 @@ GURL LayoutTestDevToolsFrontend::GetDevToolsPathAsURL( |
return result; |
} |
+LayoutTestDevToolsFrontend::LayoutTestDevToolsFrontend( |
+ Shell* frontend_shell, |
+ DevToolsAgentHost* agent_host) |
+ : ShellDevToolsFrontend(frontend_shell, agent_host) { |
+} |
+ |
+LayoutTestDevToolsFrontend::~LayoutTestDevToolsFrontend() { |
+} |
+ |
+void LayoutTestDevToolsFrontend::AgentHostClosed( |
+ DevToolsAgentHost* agent_host, bool replaced) { |
+ // Do not close the front-end shell. |
+} |
+ |
void LayoutTestDevToolsFrontend::RenderProcessGone( |
base::TerminationStatus status) { |
WebKitTestController::Get()->DevToolsProcessCrashed(); |