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

Unified Diff: sky/engine/platform/scroll/ScrollableArea.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/platform/scroll/ScrollableArea.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/scroll/ScrollableArea.cpp
diff --git a/sky/engine/platform/scroll/ScrollableArea.cpp b/sky/engine/platform/scroll/ScrollableArea.cpp
index 587c7f569455f4b13eeb8e9cd6fd9b0c02ffcd64..1ba68b0b723d872d0902f8b8e9f0904adce0f007 100644
--- a/sky/engine/platform/scroll/ScrollableArea.cpp
+++ b/sky/engine/platform/scroll/ScrollableArea.cpp
@@ -235,23 +235,6 @@ bool ScrollableArea::hasOverlayScrollbars() const
return hScrollbar && hScrollbar->isOverlayScrollbar();
}
-bool ScrollableArea::scheduleAnimation()
-{
- WTF_LOG(ScriptedAnimationController, "ScrollableArea::scheduleAnimation: window = %d",
- hostWindow() ? 1 : 0);
- if (HostWindow* window = hostWindow()) {
- window->scheduleAnimation();
- return true;
- }
- return false;
-}
-
-void ScrollableArea::serviceScrollAnimations(double monotonicTime)
-{
- if (ScrollAnimator* scrollAnimator = existingScrollAnimator())
- scrollAnimator->serviceScrollAnimations();
-}
-
IntPoint ScrollableArea::clampScrollPosition(const IntPoint& scrollPosition) const
{
return scrollPosition.shrunkTo(maximumScrollPosition()).expandedTo(minimumScrollPosition());
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698