Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange, a=lsblakk
authorJosiahOne <josiah@programmer.net>
Tue, 14 May 2013 15:54:57 -0400
changeset 138519 9c8ea621612220c1c3e95694a695c48feca2a667
parent 138518 470da31aeb168b4f9e3fd16fbd5829667c23f55a
child 138520 72f386b8c46b970ec945e48c2ff328f31c6f727e
push id3777
push userryanvm@gmail.com
push dateTue, 21 May 2013 12:53:27 +0000
treeherdermozilla-aurora@10738444bf15 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange, lsblakk
bugs868316
milestone23.0a2
Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange, a=lsblakk
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);