diff options
author | noms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 15:16:45 +0000 |
---|---|---|
committer | noms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 15:16:45 +0000 |
commit | 205b3752af54bb57522eab4558b11de63614a50d (patch) | |
tree | b97846ea05ec3e7fd1127fcf3ebebefb5633e401 /chrome/app/chrome_exe_main_win.cc | |
parent | 8f1c5eab716bc18ab8a932035fcb047c634b0b9c (diff) | |
download | chromium_src-205b3752af54bb57522eab4558b11de63614a50d.zip chromium_src-205b3752af54bb57522eab4558b11de63614a50d.tar.gz chromium_src-205b3752af54bb57522eab4558b11de63614a50d.tar.bz2 |
Revert of https://codereview.chromium.org/104593008/
Reason for revert: Failed on the waterfall ([ FAILED ] nacl_newlib.run_breakpad_crash_in_syscall_test (250 ms). This error also happened on the trybot.
TBR=scottmg@chromium.org,joi@chromium.org,jochen@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/101623005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_exe_main_win.cc')
-rw-r--r-- | chrome/app/chrome_exe_main_win.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc index 68a2519..591ec7a 100644 --- a/chrome/app/chrome_exe_main_win.cc +++ b/chrome/app/chrome_exe_main_win.cc @@ -47,15 +47,9 @@ int RunChrome(HINSTANCE instance) { bool exit_now = true; // We restarted because of a previous crash. Ask user if we should relaunch. - // Only show this for the browser process. See crbug.com/132119. - const std::string process_type = - CommandLine::ForCurrentProcess()->GetSwitchValueASCII( - switches::kProcessType); - if (process_type.empty()) { - if (breakpad::ShowRestartDialogIfCrashed(&exit_now)) { - if (exit_now) - return content::RESULT_CODE_NORMAL_EXIT; - } + if (breakpad::ShowRestartDialogIfCrashed(&exit_now)) { + if (exit_now) + return content::RESULT_CODE_NORMAL_EXIT; } // Initialize the sandbox services. |