Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: Source/core/svg/SVGSVGElement.cpp

Issue 802143002: AnimationPolicy setting is applied to SVG animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: apply new concept Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGSVGElement.cpp
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
index 84e6651f2d9c189e353bcc87447d0bc278114e27..dcc908018c23ee194ddb8356f37321af68c53b16 100644
--- a/Source/core/svg/SVGSVGElement.cpp
+++ b/Source/core/svg/SVGSVGElement.cpp
@@ -555,7 +555,7 @@ void SVGSVGElement::removedFrom(ContainerNode* rootParent)
void SVGSVGElement::pauseAnimations()
{
- if (!m_timeContainer->isPaused())
+ if (!m_timeContainer->isPaused() || m_timeContainer->isFrozen())
m_timeContainer->pause();
}

Powered by Google App Engine
This is Rietveld 408576698