Always specify that slider thumbs are small when painting with SafariTheme
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Sep 2007 18:15:38 +0000 (18:15 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Sep 2007 18:15:38 +0000 (18:15 +0000)
        This is the only size we support.

        Reviewed by Sam.

        * rendering/RenderThemeSafari.cpp:
        (WebCore::RenderThemeSafari::paintSliderThumb):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderThemeSafari.cpp

index 25854c9c984c47503f757d18013c69786f77ab9e..38c4a30eabab27f4027dca14893ea0b1e87e20f3 100644 (file)
@@ -1,3 +1,14 @@
+2007-09-12  Adam Roben  <aroben@apple.com>
+
+        Always specify that slider thumbs are small when painting with SafariTheme
+
+        This is the only size we support.
+
+        Reviewed by Sam.
+
+        * rendering/RenderThemeSafari.cpp:
+        (WebCore::RenderThemeSafari::paintSliderThumb):
+
 2007-09-12  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Darin
index 611ee9f697da2ca1cde7a75aef9eb599c8657499..1e0d23c3a1195d4fe89a7f17213df3e6d2d51a52 100644 (file)
@@ -914,7 +914,7 @@ bool RenderThemeSafari::paintSliderThumb(RenderObject* o, const RenderObject::Pa
     if (pressed)
         state |= SafariTheme::PressedState;
 
-    paintThemePart(SliderThumbPart, paintInfo.context->platformContext(), r, (NSControlSize)0, state);
+    paintThemePart(SliderThumbPart, paintInfo.context->platformContext(), r, NSSmallControlSize, state);
     return false;
 }