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

Unified Diff: components/exo/display.cc

Issue 2032863002: Enable cc::Surface backend for exo Surfaces by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.cc
diff --git a/components/exo/display.cc b/components/exo/display.cc
index a5edfb13e55f9157b0c339d04267a05d4d42d5d7..10799b19a9ced13ca98314523ba5aefa9e4bd99f 100644
--- a/components/exo/display.cc
+++ b/components/exo/display.cc
@@ -29,14 +29,15 @@
namespace exo {
-const char kUseExoSurfaceLayer[] = "use-exo-surface-layer";
+const char kDisableExoSurfaceLayer[] = "disable-exo-surface-layer";
////////////////////////////////////////////////////////////////////////////////
// Display, public:
Display::Display() {
Surface::SetUseSurfaceLayer(
- base::CommandLine::ForCurrentProcess()->HasSwitch(kUseExoSurfaceLayer));
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kDisableExoSurfaceLayer));
}
Display::~Display() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698