Clean up views::Background.
https://chromium-review.googlesource.com/c/chromium/src/+/520702
This commit is contained in:
parent
93b3d8cb49
commit
e0d7b7d0fc
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void MenuBar::UpdateMenuBarColor() {
|
||||||
GetMenuBarColor(&enabled_color_, &disabled_color_, &highlight_color_,
|
GetMenuBarColor(&enabled_color_, &disabled_color_, &highlight_color_,
|
||||||
&hover_color_, &background_color_);
|
&hover_color_, &background_color_);
|
||||||
#endif
|
#endif
|
||||||
set_background(views::Background::CreateSolidBackground(background_color_));
|
SetBackground(views::CreateSolidBackground(background_color_));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace atom
|
} // namespace atom
|
||||||
|
|
Loading…
Reference in a new issue