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

Unified Diff: blimp/client/core/context/blimp_client_context_impl.cc

Issue 2476873002: blimp: Enable the updated compositing path by default. (Closed)
Patch Set: Created 4 years, 1 month 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 | blimp/engine/app/blimp_engine_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/context/blimp_client_context_impl.cc
diff --git a/blimp/client/core/context/blimp_client_context_impl.cc b/blimp/client/core/context/blimp_client_context_impl.cc
index 81769e53483afa6bf70bf0211f742a2be050e0bc..0ea7f8750c2db2aa95805c7f265fd503927ce661 100644
--- a/blimp/client/core/context/blimp_client_context_impl.cc
+++ b/blimp/client/core/context/blimp_client_context_impl.cc
@@ -139,6 +139,10 @@ BlimpClientContextImpl::BlimpClientContextImpl(
FROM_HERE, base::Bind(&ClientNetworkComponents::Initialize,
base::Unretained(net_components_.get())));
+ // Enable the updated compositing path before any tabs are created.
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
David Trainor- moved to gerrit 2016/11/04 04:23:54 Might be nice to have a function like the one for
Khushal 2016/11/04 04:26:48 That's a cool idea. Is there a better place to do
+ switches::kEnableUpdatedCompositingPath);
+
UMA_HISTOGRAM_BOOLEAN("Blimp.Supported", true);
}
« no previous file with comments | « no previous file | blimp/engine/app/blimp_engine_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698