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( |
cc::switches::kEnableCheckerImaging)) |
return true; |