Title: [102403] trunk/Source/WebCore
Revision
102403
Author
ander...@apple.com
Date
2011-12-08 17:16:22 -0800 (Thu, 08 Dec 2011)

Log Message

Fix a paste-o in ScrollAnimatorMac::updateScrollerStyle
https://bugs.webkit.org/show_bug.cgi?id=74145

Reviewed by Sam Weinig.

Call setHorizontalScrollerImp to set the horizontal scrollbar painter.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::updateScrollerStyle):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (102402 => 102403)


--- trunk/Source/WebCore/ChangeLog	2011-12-09 01:13:29 UTC (rev 102402)
+++ trunk/Source/WebCore/ChangeLog	2011-12-09 01:16:22 UTC (rev 102403)
@@ -1,5 +1,17 @@
 2011-12-08  Anders Carlsson  <ander...@apple.com>
 
+        Fix a paste-o in ScrollAnimatorMac::updateScrollerStyle
+        https://bugs.webkit.org/show_bug.cgi?id=74145
+
+        Reviewed by Sam Weinig.
+
+        Call setHorizontalScrollerImp to set the horizontal scrollbar painter.
+
+        * platform/mac/ScrollAnimatorMac.mm:
+        (WebCore::ScrollAnimatorMac::updateScrollerStyle):
+
+2011-12-08  Anders Carlsson  <ander...@apple.com>
+
         Create one WebScrollbarPainterDelegate for each scrollbar
         https://bugs.webkit.org/show_bug.cgi?id=74142
 

Modified: trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm (102402 => 102403)


--- trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm	2011-12-09 01:13:29 UTC (rev 102402)
+++ trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm	2011-12-09 01:16:22 UTC (rev 102403)
@@ -1475,7 +1475,7 @@
                                                                                     horizontal:YES 
                                                                                     replacingScrollerImp:oldHorizontalPainter];
         macTheme->setNewPainterForScrollbar(horizontalScrollbar, newHorizontalPainter);
-        [m_scrollbarPainterController.get() setVerticalScrollerImp:newHorizontalPainter];
+        [m_scrollbarPainterController.get() setHorizontalScrollerImp:newHorizontalPainter];
 
         // The different scrollbar styles have different thicknesses, so we must re-set the 
         // frameRect to the new thickness, and the re-layout below will ensure the position
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to