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

Unified Diff: components/html_viewer/web_layer_tree_view_impl.cc

Issue 1481343002: CC Animations: Make sure that HtmlViewer uses compositor-animation-timelines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to pick up a fix. 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 | « components/html_viewer/global_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_layer_tree_view_impl.cc
diff --git a/components/html_viewer/web_layer_tree_view_impl.cc b/components/html_viewer/web_layer_tree_view_impl.cc
index c379bc9bcea62ab7a8bc70198653ddfed30c6a79..2f793b8038719489fbd1a3a75165c7080c0d2bb3 100644
--- a/components/html_viewer/web_layer_tree_view_impl.cc
+++ b/components/html_viewer/web_layer_tree_view_impl.cc
@@ -41,6 +41,9 @@ WebLayerTreeViewImpl::WebLayerTreeViewImpl(
// to keep content always crisp when possible.
settings.layer_transforms_should_scale_layer_contents = true;
+ // Use new animation system (cc::AnimationHost).
+ settings.use_compositor_animation_timelines = true;
+
// TODO(rjkroege): Not having a shared tile transport breaks
// software compositing. Add bitmap transport support.
cc::SharedBitmapManager* shared_bitmap_manager = nullptr;
« no previous file with comments | « components/html_viewer/global_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698