Chromium Code Reviews| Index: content/browser/compositor/gpu_process_transport_factory.cc |
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc |
| index 673074c04b6d73ab55077a9f0565db1cbdc7a68f..eb302d7db1d7a529595f5400f0d0e5baee25e642 100644 |
| --- a/content/browser/compositor/gpu_process_transport_factory.cc |
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc |
| @@ -178,6 +178,9 @@ CreateOverlayCandidateValidator(gfx::AcceleratedWidget widget) { |
| } |
| static bool ShouldCreateGpuOutputSurface(ui::Compositor* compositor) { |
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpu)) |
|
danakj
2015/07/07 23:42:45
Hm, yes.. but I guess it means you have 2 places u
|
| + return false; |
| + |
| #if defined(OS_CHROMEOS) |
| // Software fallback does not happen on Chrome OS. |
| return true; |