diff options
Diffstat (limited to 'chrome/browser/render_view_host.cc')
-rw-r--r-- | chrome/browser/render_view_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/render_view_host.cc b/chrome/browser/render_view_host.cc index 156db86..7fe7e4e 100644 --- a/chrome/browser/render_view_host.cc +++ b/chrome/browser/render_view_host.cc @@ -33,6 +33,7 @@ #include <vector> #include "base/string_util.h" +#include "chrome/app/result_codes.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/cross_site_request_manager.h" #include "chrome/browser/navigation_entry.h" @@ -1190,7 +1191,7 @@ void RenderViewHost::NotifyRendererUnresponsive() { // If the tab hangs in the beforeunload/unload handler there's really // nothing we can do to recover. We can safely kill the process and the // Browser will deal with the crash appropriately. - TerminateProcess(process()->process(), 0); + TerminateProcess(process()->process(), ResultCodes::HUNG); return; } |