Chromium Code Reviews| Index: content/browser/gpu/compositor_util.cc |
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
| index 1298d758be69ca71da7af70e1afe58c859c8ec19..011454be101ffc3190e175784803f92300f87892 100644 |
| --- a/content/browser/gpu/compositor_util.cc |
| +++ b/content/browser/gpu/compositor_util.cc |
| @@ -284,6 +284,10 @@ bool IsMainFrameBeforeActivationEnabled() { |
| } |
| bool IsCheckerImagingEnabled() { |
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| + cc::switches::kDisableCheckerImaging)) |
| + return false; |
| + |
| if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
|
cblume
2017/06/28 19:17:26
Just to make sure I understand this correctly,
We
Khushal
2017/06/28 20:29:55
The command line switches are not exposed to the u
|
| cc::switches::kEnableCheckerImaging)) |
| return true; |