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

This commit is contained in:
trop[bot]
2018-11-21 14:25:49 -06:00
committed by Charles Kerr
parent 126b468eb7
commit 8ed07298cc

View File

@@ -25,6 +25,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