Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange
authorJosiahOne <josiah@programmer.net>
Tue, 14 May 2013 15:54:57 -0400
changeset 131947 f33e89758cc498d3d7dfd8b3efa3b8f212defeea
parent 131946 fad852b5819a8e65e6048c95939c3db83679a52f
child 131948 43f51c6858ae5adb60d9ed482c75aece7ff599e0
push id28051
push userryanvm@gmail.com
push dateWed, 15 May 2013 12:21:54 +0000
treeherdermozilla-inbound@ad97e1360558 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs868316
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange
widget/cocoa/nsNativeThemeCocoa.mm
--- a/widget/cocoa/nsNativeThemeCocoa.mm
+++ b/widget/cocoa/nsNativeThemeCocoa.mm
@@ -2546,19 +2546,19 @@ nsNativeThemeCocoa::GetWidgetBorder(nsDe
           else
             aResult->SizeTo(endcapSize, 0, 0, 0);
         }
       }
 
       if (nsLookAndFeel::GetInt(
             nsLookAndFeel::eIntID_UseOverlayScrollbars) != 0) {
         if (isHorizontal) {
-          aResult->SizeTo(1, 2, 1, 1);
+          aResult->SizeTo(2, 1, 1, 1);
         } else {
-          aResult->SizeTo(2, 1, 1, 1);
+          aResult->SizeTo(1, 1, 1, 2);
         }
       }
 
       break;
     }
 
     case NS_THEME_STATUSBAR:
       aResult->SizeTo(1, 0, 0, 0);