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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win trybot failure 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 | « cc/test/test_hooks.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 8b1227270b5f39e3cfefa936052e0f585d6c55e0..0239dd41c1f3e48b367191831f0883d4a4e65688 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -3747,7 +3747,7 @@ void LayerTreeHostImpl::UpdateRootLayerStateForSynchronousInputHandler() {
void LayerTreeHostImpl::ScrollAnimationAbort(LayerImpl* layer_impl) {
if (animation_host_)
- return animation_host_->ScrollAnimationAbort();
+ return animation_host_->ScrollAnimationAbort(false /* needs_completion */);
layer_impl->layer_animation_controller()->AbortAnimations(
TargetProperty::SCROLL_OFFSET);
« no previous file with comments | « cc/test/test_hooks.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698