Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index e5cb16531835bd785635d43139e9212f6e54e2f5..3db726a1343b0819d9a4d2fc214a916ce8de7e45 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -851,6 +851,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kWebCoreLogChannels, |
cc::switches::kBackgroundColorInsteadOfCheckerboard, |
cc::switches::kEnableCompositorFrameMessage, |
+ cc::switches::kDisableImplSidePainting, |
cc::switches::kEnableImplSidePainting, |
cc::switches::kEnablePartialSwap, |
cc::switches::kEnableRightAlignedScheduling, |
@@ -882,7 +883,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
} |
// Enforce the extra command line flags for impl-side painting. |
- if (browser_cmd.HasSwitch(cc::switches::kEnableImplSidePainting) && |
+ if (cc::switches::IsImplSidePaintingEnabled() && |
!browser_cmd.HasSwitch(switches::kEnableDeferredImageDecoding)) |
renderer_cmd->AppendSwitch(switches::kEnableDeferredImageDecoding); |
} |