| Index: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
|
| index 653832ffc6df0c66e85e6669f6baa75e26ca6659..2b0b403ce86a116a2949b7f60399c9381293150c 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
|
| @@ -63,7 +63,7 @@ void SVGImageChromeClient::invalidateRect(const IntRect& r) {
|
| }
|
|
|
| void SVGImageChromeClient::suspendAnimation() {
|
| - if (m_image->hasAnimations()) {
|
| + if (m_image->maybeAnimated()) {
|
| m_timelineState = SuspendedWithAnimationPending;
|
| } else {
|
| // Preserve SuspendedWithAnimationPending if set.
|
| @@ -95,7 +95,7 @@ void SVGImageChromeClient::scheduleAnimation(FrameViewBase*) {
|
| // animations. Checking for pending/active animations could be more
|
| // stringent.
|
| double fireTime = 0;
|
| - if (m_image->hasAnimations()) {
|
| + if (m_image->maybeAnimated()) {
|
| if (m_timelineState >= Suspended)
|
| return;
|
| fireTime = animationFrameDelay;
|
|
|