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

Unified Diff: ui/compositor/compositor_switches.cc

Issue 962833003: UI impl side painting default on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: if single process do not call setNumWorkerThreads in RenderThreadImpl Created 5 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: ui/compositor/compositor_switches.cc
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
index b041d885b938a53d11367a18b9f4e7c7f70636bb..59817ca6730f3925c41765e721c1066ae9d61c79 100644
--- a/ui/compositor/compositor_switches.cc
+++ b/ui/compositor/compositor_switches.cc
@@ -17,7 +17,7 @@ const char kEnablePixelOutputInTests[] = "enable-pixel-output-in-tests";
const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing";
-const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting";
+const char kUIDisableImplSidePainting[] = "ui-disable-impl-side-painting";
const char kUIEnableZeroCopy[] = "ui-enable-zero-copy";
@@ -31,7 +31,7 @@ bool IsUIImplSidePaintingEnabled() {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
- return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
+ return !command_line.HasSwitch(switches::kUIDisableImplSidePainting);
}
bool IsUIZeroCopyEnabled() {
« content/renderer/render_thread_impl.cc ('K') | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698