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

Unified Diff: Source/platform/mac/ScrollAnimatorMac.mm

Issue 1165883002: Removed unused ScrollAnimatorMac methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « Source/platform/mac/ScrollAnimatorMac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/ScrollAnimatorMac.mm
diff --git a/Source/platform/mac/ScrollAnimatorMac.mm b/Source/platform/mac/ScrollAnimatorMac.mm
index 6ab30748bb030c8766b1660684868531208ea12e..8e4577287c9281addc5e034d9e6a201faaf0d465 100644
--- a/Source/platform/mac/ScrollAnimatorMac.mm
+++ b/Source/platform/mac/ScrollAnimatorMac.mm
@@ -129,13 +129,6 @@ static NSSize abs(NSSize size)
return NSMakeRect(currentPosition.x(), currentPosition.y(), 0, 0);
}
-- (void)_immediateScrollToPoint:(NSPoint)newPosition
-{
- if (!_animator)
- return;
- _animator->immediateScrollToPointForScrollAnimation(newPosition);
-}
-
- (NSPoint)_pixelAlignProposedScrollPosition:(NSPoint)newOrigin
{
return newOrigin;
@@ -769,12 +762,6 @@ void ScrollAnimatorMac::immediateScrollTo(const FloatPoint& newPosition)
notifyPositionChanged();
}
-void ScrollAnimatorMac::immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
-{
- ASSERT(m_scrollAnimationHelper);
- immediateScrollTo(newPosition);
-}
-
void ScrollAnimatorMac::contentAreaWillPaint() const
{
if (!scrollableArea()->scrollbarsCanBeActive())
« no previous file with comments | « Source/platform/mac/ScrollAnimatorMac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698