From da04cbd4d875cd0f00b8c9338d582902e3e3e323 Mon Sep 17 00:00:00 2001 From: Tony Ganch Date: Tue, 12 Sep 2017 15:33:27 +0000 Subject: [PATCH] Rename set_background to SetBackground --- atom/browser/native_browser_view_views.cc | 2 +- atom/browser/native_window_views.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/browser/native_browser_view_views.cc b/atom/browser/native_browser_view_views.cc index 08a8123bcaef..78e788b3019c 100644 --- a/atom/browser/native_browser_view_views.cc +++ b/atom/browser/native_browser_view_views.cc @@ -24,7 +24,7 @@ void NativeBrowserViewViews::SetBounds(const gfx::Rect& bounds) { void NativeBrowserViewViews::SetBackgroundColor(SkColor color) { auto* view = GetInspectableWebContentsView()->GetView(); - view->set_background(views::Background::CreateSolidBackground(color)); + view->SetBackground(views::CreateSolidBackground(color)); } // static diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 457720ffbee8..c2748d18aabe 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -793,7 +793,7 @@ bool NativeWindowViews::IsKiosk() { void NativeWindowViews::SetBackgroundColor(const std::string& color_name) { // web views' background color. SkColor background_color = ParseHexColor(color_name); - set_background(views::Background::CreateSolidBackground(background_color)); + SetBackground(views::CreateSolidBackground(background_color)); #if defined(OS_WIN) // Set the background color of native window.