fix: schedule a paint after browserview's background is set (#15798)

This commit is contained in:
trop[bot] 2018-11-30 14:44:54 -08:00 committed by Shelley Vohr
parent 10b642506f
commit 688b345033

View file

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