2009-03-04 Adam Langley <agl@google.com>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2009 00:57:14 +0000 (00:57 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2009 00:57:14 +0000 (00:57 +0000)
        Reviewed by Darin Fisher.

        r41362 mistakenly added functions "RenderThemeWin::" into
        RenderThemeChromiumGtk.cpp. When correcting this, I somehow changed
        them to void return types. This patch switches them back to ints.

        https://bugs.webkit.org/show_bug.cgi?id=24360

        * rendering/RenderThemeChromiumLinux.cpp:
        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingLeft):
        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingRight):
        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingTop):
        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingBottom):

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

WebCore/ChangeLog
WebCore/rendering/RenderThemeChromiumLinux.cpp

index e6a330e2669638008b878b8d6e8ba154a2072105..2e605c3adc71bbed9e7db394cd91b219fe147d30 100644 (file)
@@ -1,3 +1,19 @@
+2009-03-04  Adam Langley  <agl@google.com>
+
+        Reviewed by Darin Fisher.
+
+        r41362 mistakenly added functions "RenderThemeWin::" into
+        RenderThemeChromiumGtk.cpp. When correcting this, I somehow changed
+        them to void return types. This patch switches them back to ints.
+
+        https://bugs.webkit.org/show_bug.cgi?id=24360
+
+        * rendering/RenderThemeChromiumLinux.cpp:
+        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingLeft):
+        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingRight):
+        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingTop):
+        (WebCore::RenderThemeChromiumLinux::buttonInternalPaddingBottom):
+
 2009-03-04  Adam Langley  <agl@google.com>
 
         Reviewed by Darin Fisher.
index 8d5994fc94dae915a76910c998328bb5638f4d65..2e5c31c8550079a74b40f652034153776e573131 100644 (file)
@@ -355,22 +355,22 @@ int RenderThemeChromiumLinux::popupInternalPaddingBottom(RenderStyle* style) con
     return menuListInternalPadding(style, BottomPadding);
 }
 
-void RenderThemeChromiumLinux::buttonInternalPaddingLeft() const
+int RenderThemeChromiumLinux::buttonInternalPaddingLeft() const
 {
     return 3;
 }
 
-void RenderThemeChromiumLinux::buttonInternalPaddingRight() const
+int RenderThemeChromiumLinux::buttonInternalPaddingRight() const
 {
     return 3;
 }
 
-void RenderThemeChromiumLinux::buttonInternalPaddingTop() const
+int RenderThemeChromiumLinux::buttonInternalPaddingTop() const
 {
     return 1;
 }
 
-void RenderThemeChromiumLinux::buttonInternalPaddingBottom() const
+int RenderThemeChromiumLinux::buttonInternalPaddingBottom() const
 {
     return 1;
 }