Move BackgroundColor from widgets and child frames to the WebView.
1382861
This commit is contained in:
parent
b2bd9ffd70
commit
1c4241bff5
3 changed files with 11 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue