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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1398713002: Revert of CC Animations: Enable external animation host for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index a72214d222203f6ab97b9a474284609a0bbd096a..c8ca4bdb8ac2e54432b260086fc7c6255a4afc7b 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -653,8 +653,8 @@
*base::CommandLine::ForCurrentProcess();
cc::LayerSettings layer_settings;
- layer_settings.use_compositor_animation_timelines =
- !command_line.HasSwitch(switches::kDisableCompositorAnimationTimelines);
+ if (command_line.HasSwitch(switches::kEnableCompositorAnimationTimelines))
+ layer_settings.use_compositor_animation_timelines = true;
cc_blink::WebLayerImpl::SetLayerSettings(layer_settings);
cc::SetClientNameForMetrics("Renderer");
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698