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

Unified Diff: ui/compositor/compositor_switches.cc

Issue 1160093005: Turn on ui impl-side painting by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_switches.cc
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
index a8cb8017515b050c25e0c07cde0ee3af5f1b398f..e4cad58866c42a73258cdeb80c6044c9afc97090 100644
--- a/ui/compositor/compositor_switches.cc
+++ b/ui/compositor/compositor_switches.cc
@@ -20,7 +20,7 @@ const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing";
const char kUIEnableCompositorAnimationTimelines[] =
"ui-enable-compositor-animation-timelines";
-const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting";
+const char kUIDisableImplSidePainting[] = "ui-disable-impl-side-painting";
const char kUIDisableSlimmingPaint[] = "ui-disable-slimming-paint";
@@ -35,7 +35,8 @@ namespace ui {
bool IsUIImplSidePaintingEnabled() {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
- return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
+
+ return !command_line.HasSwitch(switches::kUIDisableImplSidePainting);
}
bool IsUIZeroCopyEnabled() {
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698