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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.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/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index f55cd75e1d7d4ec557e9f990123c6471cceb7b7d..0bd0cd8efaa783b4755856cbc82c0e18813669c2 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1213,6 +1213,12 @@ void GraphicsLayer::notifyAnimationFinished(double, int group)
m_scrollableArea->notifyCompositorAnimationFinished(group);
}
+void GraphicsLayer::notifyAnimationAborted(double, int group)
+{
+ if (m_scrollableArea)
+ m_scrollableArea->notifyCompositorAnimationAborted(group);
+}
+
void GraphicsLayer::didScroll()
{
if (m_scrollableArea) {

Powered by Google App Engine
This is Rietveld 408576698