Title: [107458] trunk/Source/WebCore
Revision
107458
Author
bda...@apple.com
Date
2012-02-10 16:36:12 -0800 (Fri, 10 Feb 2012)

Log Message

Speculative build fix.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::scrollToRevealSelection):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107457 => 107458)


--- trunk/Source/WebCore/ChangeLog	2012-02-11 00:35:59 UTC (rev 107457)
+++ trunk/Source/WebCore/ChangeLog	2012-02-11 00:36:12 UTC (rev 107458)
@@ -1,3 +1,10 @@
+2012-02-10  Beth Dakin  <bda...@apple.com>
+
+        Speculative build fix.
+
+        * platform/win/PopupMenuWin.cpp:
+        (WebCore::PopupMenuWin::scrollToRevealSelection):
+
 2012-02-10  Adam Klein  <ad...@chromium.org>
 
         Enable MUTATION_OBSERVERS by default on all platforms

Modified: trunk/Source/WebCore/platform/win/PopupMenuWin.cpp (107457 => 107458)


--- trunk/Source/WebCore/platform/win/PopupMenuWin.cpp	2012-02-11 00:35:59 UTC (rev 107457)
+++ trunk/Source/WebCore/platform/win/PopupMenuWin.cpp	2012-02-11 00:36:12 UTC (rev 107458)
@@ -536,12 +536,12 @@
     int index = focusedIndex();
 
     if (index < m_scrollOffset) {
-        ScrollableArea::scrollToYOffsetWithoutAnimation(index);
+        ScrollableArea::scrollToOffsetWithoutAnimation(0, index);
         return true;
     }
 
     if (index >= m_scrollOffset + visibleItems()) {
-        ScrollableArea::scrollToYOffsetWithoutAnimation(index - visibleItems() + 1);
+        ScrollableArea::scrollToOffsetWithoutAnimation(0, index - visibleItems() + 1);
         return true;
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to