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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp

Issue 1941403002: Make servicing of SMIL animations require a FrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
index cb607ff613e99a1d9311e4b88478a826b49d06c5..8939f49f36468e79e3357ca434d6dff24a42d7ac 100644
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
@@ -86,20 +86,20 @@ LayoutSVGResourceContainer* SVGDocumentExtensions::resourceById(const AtomicStri
return m_resources.get(id);
}
-void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document, double monotonicAnimationStartTime)
+void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document)
{
if (!document.svgExtensions())
return;
- document.accessSVGExtensions().serviceAnimations(monotonicAnimationStartTime);
+ document.accessSVGExtensions().serviceAnimations();
}
-void SVGDocumentExtensions::serviceAnimations(double monotonicAnimationStartTime)
+void SVGDocumentExtensions::serviceAnimations()
{
if (RuntimeEnabledFeatures::smilEnabled()) {
HeapVector<Member<SVGSVGElement>> timeContainers;
copyToVector(m_timeContainers, timeContainers);
for (const auto& container : timeContainers)
- container->timeContainer()->serviceAnimations(monotonicAnimationStartTime);
+ container->timeContainer()->serviceAnimations();
}
SVGElementSet webAnimationsPendingSVGElements;

Powered by Google App Engine
This is Rietveld 408576698