Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
index 2f3892743f3102ab58a0e4825a12088469fd58cd..f7cbe74170bb273ebc8562abebb2610ff0fc9acf 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
@@ -27,6 +27,8 @@ public: |
bool hasAnimationThatRequiresService() const; |
+ virtual bool hasRunningAnimation() const { return false; } |
+ |
virtual void resetAnimationState(); |
virtual void cancelAnimation(); |
@@ -47,7 +49,7 @@ protected: |
void abortAnimation(); |
void compositorAnimationFinished(int groupId); |
- void reattachCompositorPlayerIfNeeded(WebCompositorAnimationTimeline*); |
+ bool reattachCompositorPlayerIfNeeded(WebCompositorAnimationTimeline*); |
// WebCompositorAnimationDelegate implementation. |
void notifyAnimationStarted(double monotonicTime, int group) override; |