Changeset 44079 in webkit
- Timestamp:
- May 22, 2009 10:47:53 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r44075 r44079 1 2009-05-22 Holger Hans Peter Freyther <zecke@selfish.org> 2 3 Reviewed by Maciej Stachowiak. 4 5 https://bugs.webkit.org/show_bug.cgi?id=25684 6 7 Ask the Scrollbar for the orientation. 8 9 Use Scrollbar::orientation to figure out the 10 direction of scrolling. 11 12 * platform/ScrollView.cpp: 13 (WebCore::ScrollView::valueChanged): 14 1 15 2009-05-22 Darin Adler <darin@apple.com> 2 16 -
trunk/WebCore/platform/ScrollView.cpp
r43858 r44079 239 239 IntSize newOffset = m_scrollOffset; 240 240 if (scrollbar) { 241 if (scrollbar == m_horizontalScrollbar)241 if (scrollbar->orientation() == HorizontalScrollbar) 242 242 newOffset.setWidth(scrollbar->value()); 243 else if (scrollbar == m_verticalScrollbar)243 else if (scrollbar->orientation() == VerticalScrollbar) 244 244 newOffset.setHeight(scrollbar->value()); 245 245 }
Note: See TracChangeset
for help on using the changeset viewer.