Changeset 107458 in webkit
- Timestamp:
- Feb 10, 2012 4:36:12 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107454 r107458 1 2012-02-10 Beth Dakin <bdakin@apple.com> 2 3 Speculative build fix. 4 5 * platform/win/PopupMenuWin.cpp: 6 (WebCore::PopupMenuWin::scrollToRevealSelection): 7 1 8 2012-02-10 Adam Klein <adamk@chromium.org> 2 9 -
trunk/Source/WebCore/platform/win/PopupMenuWin.cpp
r105756 r107458 537 537 538 538 if (index < m_scrollOffset) { 539 ScrollableArea::scrollTo YOffsetWithoutAnimation(index);539 ScrollableArea::scrollToOffsetWithoutAnimation(0, index); 540 540 return true; 541 541 } 542 542 543 543 if (index >= m_scrollOffset + visibleItems()) { 544 ScrollableArea::scrollTo YOffsetWithoutAnimation(index - visibleItems() + 1);544 ScrollableArea::scrollToOffsetWithoutAnimation(0, index - visibleItems() + 1); 545 545 return true; 546 546 }
Note: See TracChangeset
for help on using the changeset viewer.