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

Unified Diff: ui/compositor/compositor_switches.cc

Issue 1092933005: Revert of [Temporary On Will revert on Fri] UI impl side painting default on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 f003e9d499be90b544e76275fc6f658bccd3c307..7b8fed3ca9890f634a8b89575913a91cd21a18ab 100644
--- a/ui/compositor/compositor_switches.cc
+++ b/ui/compositor/compositor_switches.cc
@@ -20,7 +20,7 @@
const char kUIEnableCompositorAnimationTimelines[] =
"ui-enable-compositor-animation-timelines";
-const char kUIDisableImplSidePainting[] = "ui-disable-impl-side-painting";
+const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting";
const char kUIEnableSlimmingPaint[] = "ui-enable-slimming-paint";
@@ -35,8 +35,7 @@
bool IsUIImplSidePaintingEnabled() {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
-
- return !command_line.HasSwitch(switches::kUIDisableImplSidePainting);
+ return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
}
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