Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index 610654c33ca7d46527e76dd8235626cf906da485..abbf27fd5630486975b6d6ab728056633ae0c5bd 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -29,6 +29,7 @@ |
#include "core/svg/graphics/SVGImage.h" |
+#include "core/animation/DocumentTimeline.h" |
#include "core/dom/NodeTraversal.h" |
#include "core/dom/shadow/ComposedTreeWalker.h" |
#include "core/frame/FrameView.h" |
@@ -431,7 +432,7 @@ bool SVGImage::hasAnimations() const |
SVGSVGElement* rootElement = toSVGDocument(frame->document())->rootElement(); |
if (!rootElement) |
return false; |
- return rootElement->timeContainer()->hasAnimations(); |
+ return rootElement->timeContainer()->hasAnimations() || frame->document()->timeline().hasPendingUpdates(); |
} |
bool SVGImage::dataChanged(bool allDataReceived) |