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

Unified Diff: ui/compositor/compositor.cc

Issue 164183012: Remove --enable-per-tile-painting and --ui-enable-per-tile-painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enablepertilepainting: rebase Created 6 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 1e9537a5cc164e00ab7e9a4c6049c1cf75667f14..580a5e34e58e0c81d6ce797d7b94741541e96f12 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -213,8 +213,9 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
switches::IsUIDeadlineSchedulingEnabled();
settings.partial_swap_enabled =
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
- settings.per_tile_painting_enabled =
- command_line->HasSwitch(cc::switches::kUIEnablePerTilePainting);
+#if defined(OS_CHROMEOS)
+ settings.per_tile_painting_enabled = true;
+#endif
// These flags should be mirrored by renderer versions in content/renderer/.
settings.initial_debug_state.show_debug_borders =
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698