Title: [107481] trunk/Source/WebCore
Revision
107481
Author
ander...@apple.com
Date
2012-02-11 10:18:08 -0800 (Sat, 11 Feb 2012)

Log Message

Try to fix the Windows build.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107480 => 107481)


--- trunk/Source/WebCore/ChangeLog	2012-02-11 17:46:49 UTC (rev 107480)
+++ trunk/Source/WebCore/ChangeLog	2012-02-11 18:18:08 UTC (rev 107481)
@@ -1,3 +1,10 @@
+2012-02-11  Anders Carlsson  <ander...@apple.com>
+
+        Try to fix the Windows build.
+
+        * platform/win/PopupMenuWin.cpp:
+        (WebCore::PopupMenuWin::scrollToRevealSelection):
+
 2012-02-08  Stephen White  <senorbla...@chromium.org>
 
         [chromium] Enable CSS filters on composited layers.

Modified: trunk/Source/WebCore/platform/win/PopupMenuWin.cpp (107480 => 107481)


--- trunk/Source/WebCore/platform/win/PopupMenuWin.cpp	2012-02-11 17:46:49 UTC (rev 107480)
+++ trunk/Source/WebCore/platform/win/PopupMenuWin.cpp	2012-02-11 18:18:08 UTC (rev 107481)
@@ -536,12 +536,12 @@
     int index = focusedIndex();
 
     if (index < m_scrollOffset) {
-        ScrollableArea::scrollToOffsetWithoutAnimation(0, index);
+        ScrollableArea::scrollToOffsetWithoutAnimation(VerticalScrollbar, index);
         return true;
     }
 
     if (index >= m_scrollOffset + visibleItems()) {
-        ScrollableArea::scrollToOffsetWithoutAnimation(0, index - visibleItems() + 1);
+        ScrollableArea::scrollToOffsetWithoutAnimation(VerticalScrollbar, 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