Index: content/shell/browser/shell_devtools_frontend.cc |
diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc |
index 21973f4687b313c0adbeb015252439465543702f..e6f4b85108105a7955c5bcfff3bb03664c99fec3 100644 |
--- a/content/shell/browser/shell_devtools_frontend.cc |
+++ b/content/shell/browser/shell_devtools_frontend.cc |
@@ -19,6 +19,7 @@ |
#include "content/shell/browser/shell_browser_main_parts.h" |
#include "content/shell/browser/shell_content_browser_client.h" |
#include "content/shell/browser/shell_devtools_delegate.h" |
+#include "content/shell/browser/webkit_test_controller.h" |
#include "content/shell/common/shell_switches.h" |
#include "net/base/filename_util.h" |
@@ -131,6 +132,11 @@ void ShellDevToolsFrontend::WebContentsDestroyed() { |
delete this; |
} |
+void ShellDevToolsFrontend::RenderProcessGone(base::TerminationStatus status) { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
+ WebKitTestController::Get()->DevToolsProcessCrashed(); |
+} |
+ |
void ShellDevToolsFrontend::InspectedContentsClosing() { |
frontend_shell_->Close(); |
} |