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

Unified Diff: ui/compositor/layer.cc

Issue 1662793003: UI Compositor: Disable external animation host for ui::Compositor (Aura) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixtests
Patch Set: Rebase. Created 4 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
« no previous file with comments | « ui/compositor/compositor_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 31946b9ecefb6c404f30ab09e84636b6a7562ebf..e1fac1a6519cb9b179be711baa7c6ea092f141b2 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -129,8 +129,8 @@ const cc::LayerSettings& Layer::UILayerSettings() {
void Layer::InitializeUILayerSettings() {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
g_ui_layer_settings.Get().use_compositor_animation_timelines =
- !command_line->HasSwitch(
- switches::kUIDisableCompositorAnimationTimelines);
+ command_line->HasSwitch(
+ switches::kUIEnableCompositorAnimationTimelines);
}
const Compositor* Layer::GetCompositor() const {
« no previous file with comments | « ui/compositor/compositor_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698