mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Make sure the button widget is created before painting scrollbar arrows. Not part of the build.
This commit is contained in:
parent
fc6291f0a6
commit
848885c43d
@ -280,7 +280,8 @@ nsNativeThemeGTK::DrawWidgetBackground(nsIRenderingContext* aContext,
|
||||
case NS_THEME_SCROLLBAR_BUTTON_RIGHT:
|
||||
{
|
||||
EnsureScrollbarWidget();
|
||||
|
||||
EnsureButtonWidget();
|
||||
|
||||
GtkWidgetState buttonState;
|
||||
GetGtkWidgetState(aFrame, &buttonState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user