| Index: content/browser/gpu/gpu_process_host.cc
|
| ===================================================================
|
| --- content/browser/gpu/gpu_process_host.cc (revision 96780)
|
| +++ content/browser/gpu/gpu_process_host.cc (working copy)
|
| @@ -521,6 +521,7 @@
|
|
|
| // Propagate relevant command line switches.
|
| static const char* const kSwitchNames[] = {
|
| + switches::kDisableBreakpad,
|
| switches::kDisableGLMultisampling,
|
| switches::kDisableGpuSandbox,
|
| switches::kDisableGpuVsync,
|
| @@ -540,6 +541,12 @@
|
| cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
|
| arraysize(kSwitchNames));
|
|
|
| + // If --ignore-gpu-blacklist is passed in, don't send in crash reports
|
| + // because GPU is expected to be unreliable.
|
| + if (browser_command_line.HasSwitch(switches::kIgnoreGpuBlacklist) &&
|
| + !cmd_line->HasSwitch(switches::kDisableBreakpad))
|
| + cmd_line->AppendSwitch(switches::kDisableBreakpad);
|
| +
|
| GpuFeatureFlags flags = GpuDataManager::GetInstance()->GetGpuFeatureFlags();
|
| if (flags.flags() & GpuFeatureFlags::kGpuFeatureMultisampling)
|
| cmd_line->AppendSwitch(switches::kDisableGLMultisampling);
|
|
|