mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Clean up views::Background.
https://chromium-review.googlesource.com/c/chromium/src/+/520702
This commit is contained in:
committed by
Cheng Zhao
parent
93b3d8cb49
commit
e0d7b7d0fc
@@ -168,7 +168,7 @@ void MenuBar::UpdateMenuBarColor() {
|
||||
GetMenuBarColor(&enabled_color_, &disabled_color_, &highlight_color_,
|
||||
&hover_color_, &background_color_);
|
||||
#endif
|
||||
set_background(views::Background::CreateSolidBackground(background_color_));
|
||||
SetBackground(views::CreateSolidBackground(background_color_));
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
||||
Reference in New Issue
Block a user