Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1439)

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 12221005: Add flag to disable impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 619944058745584281693ddead3001f48580e381..a8de52676cee3c8ca55d6ead71c1b3655f0a88b4 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -95,8 +95,7 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create(
settings.rightAlignedSchedulingEnabled =
cmd->HasSwitch(cc::switches::kEnableRightAlignedScheduling);
- settings.implSidePainting =
- cmd->HasSwitch(cc::switches::kEnableImplSidePainting);
+ settings.implSidePainting = cc::switches::IsImplSidePaintingEnabled();
settings.useCheapnessEstimator =
cmd->HasSwitch(cc::switches::kUseCheapnessEstimator);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698