Clean up views::Background.

https://chromium-review.googlesource.com/c/chromium/src/+/520702
This commit is contained in:
Aleksei Kuzmin 2017-09-13 23:59:25 +03:00 committed by Cheng Zhao
parent 93b3d8cb49
commit e0d7b7d0fc

View file

@ -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