mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 590468. Part 3: Make Cocoa theme aware that statusbars are always opaque. r=joshmoz
This commit is contained in:
parent
42717b4a2e
commit
a920df2401
@ -2531,7 +2531,9 @@ nsNativeThemeCocoa::GetWidgetTransparency(nsIFrame* aFrame, PRUint8 aWidgetType)
|
||||
|
||||
case NS_THEME_SCROLLBAR_SMALL:
|
||||
case NS_THEME_SCROLLBAR:
|
||||
// Scrollbars are drawn opaque. Knowing this improves performance.
|
||||
case NS_THEME_STATUSBAR:
|
||||
// Knowing that scrollbars and statusbars are opaque improves
|
||||
// performance, because we create layers for them.
|
||||
return eOpaque;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user