Index: Source/core/svg/SVGDocumentExtensions.cpp |
diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp |
index e5489b3ee23d2a142c7379f9e38e515f1831f73b..7e2c68a94b639b49b4479ff6ce1e59056cda8738 100644 |
--- a/Source/core/svg/SVGDocumentExtensions.cpp |
+++ b/Source/core/svg/SVGDocumentExtensions.cpp |
@@ -84,7 +84,7 @@ LayoutSVGResourceContainer* SVGDocumentExtensions::resourceById(const AtomicStri |
void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document, double monotonicAnimationStartTime) |
{ |
- if (!document.svgExtensions()) |
+ if (!document.svgExtensions() || !RuntimeEnabledFeatures::smilEnabled()) |
return; |
document.accessSVGExtensions().serviceAnimations(monotonicAnimationStartTime); |
} |