Index: Source/core/svg/graphics/SVGImageChromeClient.cpp |
diff --git a/Source/core/svg/graphics/SVGImageChromeClient.cpp b/Source/core/svg/graphics/SVGImageChromeClient.cpp |
index c130ea80f099d898a966b8f721457c90745bc919..4eb94118137e23c16fab3555709acb30ff18822f 100644 |
--- a/Source/core/svg/graphics/SVGImageChromeClient.cpp |
+++ b/Source/core/svg/graphics/SVGImageChromeClient.cpp |
@@ -86,7 +86,9 @@ void SVGImageChromeClient::animationTimerFired(Timer<SVGImageChromeClient>*) |
// serviceScriptedAnimations runs requestAnimationFrame callbacks, but SVG |
// images can't have any so we assert there's no script. |
ScriptForbiddenScope forbidScript; |
- m_image->frameView()->page()->animator().serviceScriptedAnimations(monotonicallyIncreasingTime()); |
+ double now = monotonicallyIncreasingTime(); |
+ m_image->frameView()->page()->animator().serviceScriptedAnimations( |
+ blink::WebFrameTime(blink::WebFrameTime::Undefined, blink::WebFrameTime::Undefined, now, now + animationFrameDelay)); |
m_image->frameView()->updateLayoutAndStyleForPainting(); |
} |