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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp

Issue 1587073011: Plumb NotifyAnimationAborted from the compositor to blink animation delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize aborted_ in unittest Created 4 years, 11 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
Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp
index 4f0528fac3f05f00d92026fc7a447af4ff37b7b2..142b27e77d62f5646402360ceea8281f46b330ca 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp
@@ -182,6 +182,14 @@ void ScrollAnimatorCompositorCoordinator::notifyAnimationFinished(
notifyCompositorAnimationFinished(group);
}
+void ScrollAnimatorCompositorCoordinator::notifyAnimationAborted(
+ double monotonicTime, int group)
+{
+ // An animation aborted by the compositor is treated as a finished
+ // animation.
+ notifyCompositorAnimationFinished(group);
+}
+
WebCompositorAnimationPlayer* ScrollAnimatorCompositorCoordinator::compositorPlayer() const
{
return m_compositorPlayer.get();

Powered by Google App Engine
This is Rietveld 408576698