summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_process_host.cc
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 07:02:15 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 07:02:15 +0000
commit409f7aebf34824ee032db57130e23cbc92aa9745 (patch)
tree96f1a08e85dd606052ddc5143caafe9e1ee3edf9 /content/browser/gpu/gpu_process_host.cc
parente13a64de891775f8c6c0937baad1621d1c58805d (diff)
downloadchromium_src-409f7aebf34824ee032db57130e23cbc92aa9745.zip
chromium_src-409f7aebf34824ee032db57130e23cbc92aa9745.tar.gz
chromium_src-409f7aebf34824ee032db57130e23cbc92aa9745.tar.bz2
Always crash the GPU process on hangs.
By default on Linux and Mac, the GPU process was always terminating when a hang happens, which wouldn't give a crash report. To allow us to diagnose these issues more easily, instead always crash the GPU process in these cases. Note: This patch will probably increase the number of GPU process crashes that are reported, but they were merely happening silently before, so it won't make anything worse for the users. Review URL: https://chromiumcodereview.appspot.com/12778002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r--content/browser/gpu/gpu_process_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 607ef84f..28e008e 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -1014,7 +1014,6 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) {
// Propagate relevant command line switches.
static const char* const kSwitchNames[] = {
- switches::kCrashOnGpuHang,
switches::kDisableAcceleratedVideoDecode,
switches::kDisableBreakpad,
switches::kDisableGLMultisampling,