Move BackgroundColor from widgets and child frames to the WebView.

1382861
This commit is contained in:
deepak1556 2019-01-22 02:13:17 +05:30
parent b2bd9ffd70
commit 1c4241bff5
3 changed files with 11 additions and 8 deletions

View file

@ -529,8 +529,8 @@ void OffScreenRenderWidgetHostView::SetBackgroundColor(SkColor color) {
UpdateBackgroundColorFromRenderer(color);
if (render_widget_host_) {
render_widget_host_->SetBackgroundOpaque(SkColorGetA(color) ==
SK_AlphaOPAQUE);
render_widget_host_->owner_delegate()->SetBackgroundOpaque(
SkColorGetA(color) == SK_AlphaOPAQUE);
}
}