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

Unified Diff: third_party/WebKit/Source/core/page/PageAnimator.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/PageAnimator.cpp
diff --git a/third_party/WebKit/Source/core/page/PageAnimator.cpp b/third_party/WebKit/Source/core/page/PageAnimator.cpp
index 5e86b4656810b09d09c5c8b2878855eca1571ca3..19a7dd327567a1e4b1395fd9ef8b42f30c62d302 100644
--- a/third_party/WebKit/Source/core/page/PageAnimator.cpp
+++ b/third_party/WebKit/Source/core/page/PageAnimator.cpp
@@ -57,9 +57,9 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
for (ScrollableArea* scrollableArea : animatingScrollableAreasCopy)
scrollableArea->serviceScrollAnimations(monotonicAnimationStartTime);
}
+ SVGDocumentExtensions::serviceOnAnimationFrame(*document);
}
- // TODO(skyostil): These functions should not run for documents without views.
- SVGDocumentExtensions::serviceOnAnimationFrame(*document, monotonicAnimationStartTime);
+ // TODO(skyostil): This function should not run for documents without views.
document->serviceScriptedAnimations(monotonicAnimationStartTime);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698