Changeset 107458 in webkit


Ignore:
Timestamp:
Feb 10, 2012 4:36:12 PM (12 years ago)
Author:
Beth Dakin
Message:

Speculative build fix.

  • platform/win/PopupMenuWin.cpp:

(WebCore::PopupMenuWin::scrollToRevealSelection):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107454 r107458  
     12012-02-10  Beth Dakin  <bdakin@apple.com>
     2
     3        Speculative build fix.
     4
     5        * platform/win/PopupMenuWin.cpp:
     6        (WebCore::PopupMenuWin::scrollToRevealSelection):
     7
    182012-02-10  Adam Klein  <adamk@chromium.org>
    29
  • trunk/Source/WebCore/platform/win/PopupMenuWin.cpp

    r105756 r107458  
    537537
    538538    if (index < m_scrollOffset) {
    539         ScrollableArea::scrollToYOffsetWithoutAnimation(index);
     539        ScrollableArea::scrollToOffsetWithoutAnimation(0, index);
    540540        return true;
    541541    }
    542542
    543543    if (index >= m_scrollOffset + visibleItems()) {
    544         ScrollableArea::scrollToYOffsetWithoutAnimation(index - visibleItems() + 1);
     544        ScrollableArea::scrollToOffsetWithoutAnimation(0, index - visibleItems() + 1);
    545545        return true;
    546546    }
Note: See TracChangeset for help on using the changeset viewer.