diff --git a/widget/src/cocoa/nsNativeScrollbar.mm b/widget/src/cocoa/nsNativeScrollbar.mm index 88bf489aa986..d68b4c148525 100644 --- a/widget/src/cocoa/nsNativeScrollbar.mm +++ b/widget/src/cocoa/nsNativeScrollbar.mm @@ -500,7 +500,7 @@ nsNativeScrollbar::UpdateScroller() BOOL enableScrollbar = (mIsEnabled && (mMaxValue > 0)); [scrollbarView setEnabled:enableScrollbar]; - [scrollbarView setNeedsDisplay:YES]; + Invalidate(FALSE); }