Skip to content

Commit

Permalink
fix: schedule a paint after browserview's background is set (electron…
Browse files Browse the repository at this point in the history
  • Loading branch information
brenca authored and bcpete committed Apr 18, 2019
1 parent 93ead80 commit a47a337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atom/browser/native_browser_view_views.cc
Expand Up @@ -29,6 +29,7 @@ void NativeBrowserViewViews::SetBounds(const gfx::Rect& bounds) {
void NativeBrowserViewViews::SetBackgroundColor(SkColor color) {
auto* view = GetInspectableWebContentsView()->GetView();
view->SetBackground(views::CreateSolidBackground(color));
view->SchedulePaint();
}

// static
Expand Down

0 comments on commit a47a337

Please sign in to comment.