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

Unified Diff: sky/engine/core/page/PageAnimator.cpp

Issue 875283003: Make all callers of scheduleAnimation() use scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/page/AutoscrollController.cpp ('k') | sky/engine/platform/scroll/ScrollAnimator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/PageAnimator.cpp
diff --git a/sky/engine/core/page/PageAnimator.cpp b/sky/engine/core/page/PageAnimator.cpp
index bd92e6b0ead5dd1439daf4e1779ddc942db7f90e..64b0fbdf4b86eb86ca277613a14f846834354bb7 100644
--- a/sky/engine/core/page/PageAnimator.cpp
+++ b/sky/engine/core/page/PageAnimator.cpp
@@ -33,14 +33,6 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
WTF_LOG(ScriptedAnimationController, "PageAnimator::serviceScriptedAnimations: #documents = %d",
static_cast<int>(documents.size()));
- for (size_t i = 0; i < documents.size(); ++i) {
- if (documents[i]->frame()) {
- if (const FrameView::ScrollableAreaSet* scrollableAreas = documents[i]->view()->scrollableAreas()) {
- for (FrameView::ScrollableAreaSet::iterator it = scrollableAreas->begin(); it != scrollableAreas->end(); ++it)
- (*it)->serviceScrollAnimations(monotonicAnimationStartTime);
- }
- }
- }
for (size_t i = 0; i < documents.size(); ++i)
DocumentAnimations::updateAnimationTimingForAnimationFrame(*documents[i], monotonicAnimationStartTime);
« no previous file with comments | « sky/engine/core/page/AutoscrollController.cpp ('k') | sky/engine/platform/scroll/ScrollAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698