From e0d7b7d0fc87affaf21ccb6337ec203efdcfc068 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Wed, 13 Sep 2017 23:59:25 +0300 Subject: [PATCH] Clean up views::Background. https://chromium-review.googlesource.com/c/chromium/src/+/520702 --- atom/browser/ui/views/menu_bar.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/ui/views/menu_bar.cc b/atom/browser/ui/views/menu_bar.cc index e472ee707aeb..329dec295627 100644 --- a/atom/browser/ui/views/menu_bar.cc +++ b/atom/browser/ui/views/menu_bar.cc @@ -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