Title: [97229] trunk/Source/WebCore
Revision
97229
Author
[email protected]
Date
2011-10-11 21:45:47 -0700 (Tue, 11 Oct 2011)

Log Message

Fix Leopard and Snow Leopard builds, which don't use the scrollbar painter.

* platform/mac/ScrollAnimatorMac.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97228 => 97229)


--- trunk/Source/WebCore/ChangeLog	2011-10-12 04:36:53 UTC (rev 97228)
+++ trunk/Source/WebCore/ChangeLog	2011-10-12 04:45:47 UTC (rev 97229)
@@ -1,5 +1,11 @@
 2011-10-11  Simon Fraser  <[email protected]>
 
+        Fix Leopard and Snow Leopard builds, which don't use the scrollbar painter.
+        
+        * platform/mac/ScrollAnimatorMac.mm:
+
+2011-10-11  Simon Fraser  <[email protected]>
+
         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
         https://bugs.webkit.org/show_bug.cgi?id=68134
 

Modified: trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm (97228 => 97229)


--- trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm	2011-10-12 04:36:53 UTC (rev 97228)
+++ trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm	2011-10-12 04:45:47 UTC (rev 97229)
@@ -452,11 +452,13 @@
     return adoptPtr(new ScrollAnimatorMac(scrollableArea));
 }
 
+#if USE(SCROLLBAR_PAINTER)
 static ScrollbarThemeMac* macScrollbarTheme()
 {
     ScrollbarTheme* scrollbarTheme = ScrollbarTheme::theme();
     return !scrollbarTheme->isMockTheme() ? static_cast<ScrollbarThemeMac*>(scrollbarTheme) : 0;
 }
+#endif
 
 ScrollAnimatorMac::ScrollAnimatorMac(ScrollableArea* scrollableArea)
     : ScrollAnimator(scrollableArea)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to