Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h |
index 9a4ceac83a1f13cce3916086d2729b676fb31544..efade97cdcc756d9e43b1f05cd192d78caafb2e6 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h |
@@ -73,6 +73,9 @@ class CORE_EXPORT SVGImage final : public Image { |
void startAnimation(CatchUpAnimation = CatchUp) override; |
void resetAnimation() override; |
+ // Does the SVG image/document contain any animations? |
+ bool maybeAnimated() override; |
+ |
// Advances an animated image. This will trigger an animation update for CSS |
// and advance the SMIL timeline by one frame. |
void advanceAnimationForTesting() override; |
@@ -82,8 +85,6 @@ class CORE_EXPORT SVGImage final : public Image { |
static FloatPoint offsetForCurrentFrame(const FloatRect& dstRect, |
const FloatRect& srcRect); |
- // Does the SVG image/document contain any animations? |
- bool hasAnimations() const; |
// Service CSS and SMIL animations. |
void serviceAnimations(double monotonicAnimationStartTime); |