Changeset 109183 in webkit
- Timestamp:
- Feb 28, 2012 6:36:08 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r109182 r109183 1 2012-02-28 Anders Carlsson <andersca@apple.com> 2 3 With tiled drawing enabled, pressing Down arrow after scrolling via mouse gesture causes page to jump back up to top 4 https://bugs.webkit.org/show_bug.cgi?id=79249 5 <rdar://problem/10866273> 6 7 Reviewed by Sam Weinig. 8 9 ScrollableArea::notifyScrollPositionChanged must make sure that the scroll animator position is kept up to date. 10 11 * platform/ScrollAnimator.cpp: 12 (WebCore::ScrollAnimator::setCurrentPosition): 13 (WebCore): 14 * platform/ScrollAnimator.h: 15 (ScrollAnimator): 16 * platform/ScrollableArea.cpp: 17 (WebCore::ScrollableArea::notifyScrollPositionChanged): 18 1 19 2012-02-28 Daniel Cheng <dcheng@chromium.org> 2 20 -
trunk/Source/WebCore/platform/ScrollAnimator.cpp
r107823 r109183 123 123 } 124 124 125 void ScrollAnimator::setCurrentPosition(const FloatPoint& position) 126 { 127 m_currentPosX = position.x(); 128 m_currentPosY = position.y(); 129 } 130 125 131 FloatPoint ScrollAnimator::currentPosition() const 126 132 { -
trunk/Source/WebCore/platform/ScrollAnimator.h
r107823 r109183 66 66 virtual bool handleWheelEvent(const PlatformWheelEvent&); 67 67 68 void setCurrentPosition(const FloatPoint&); 68 69 FloatPoint currentPosition() const; 69 70 -
trunk/Source/WebCore/platform/ScrollableArea.cpp
r107823 r109183 151 151 } 152 152 153 scrollAnimator()->setCurrentPosition(position); 153 154 scrollAnimator()->notifyContentAreaScrolled(); 154 155 }
Note: See TracChangeset
for help on using the changeset viewer.