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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1308053006: CC Animations: Enable external animation host for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Restore whitespace_file.txt Created 5 years 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') | content/test/test_blink_web_unit_test_support.cc » ('j') | 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 992825bd3167192ffe1ebb5ea60fe6fdb007f866..c7c9f4cb05f7a60ae7da52ca00584ca890181f87 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -668,8 +668,8 @@ void RenderThreadImpl::Init() {
*base::CommandLine::ForCurrentProcess();
cc::LayerSettings layer_settings;
- if (command_line.HasSwitch(switches::kEnableCompositorAnimationTimelines))
- layer_settings.use_compositor_animation_timelines = true;
+ layer_settings.use_compositor_animation_timelines =
+ !command_line.HasSwitch(switches::kDisableCompositorAnimationTimelines);
cc_blink::WebLayerImpl::SetLayerSettings(layer_settings);
cc::SetClientNameForMetrics("Renderer");
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698