Rename set_background to SetBackground
This commit is contained in:
parent
d7e4e8d6cc
commit
da04cbd4d8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue