Revert "Fix background color assignment for popups (fixes issue #2482)"

This change is causing the OSRTest.OsrPopupJSOtherClient test to fail.

This reverts commit 3adb801ca8.
This commit is contained in:
Marshall Greenblatt
2020-04-24 15:41:07 -04:00
parent fd1f465fa7
commit cbc0625272
4 changed files with 23 additions and 7 deletions

View File

@ -2534,13 +2534,6 @@ void CefBrowserHostImpl::RenderViewCreated(
RenderFrameCreated(render_view_host->GetMainFrame());
platform_delegate_->RenderViewCreated(render_view_host);
// Make sure the background color is set on the WebView and the Widget.
render_view_host->OnWebkitPreferencesChanged();
if (render_view_host->GetWidget()->GetView()) {
render_view_host->GetWidget()->GetView()->SetBackgroundColor(
GetBackgroundColor());
}
}
void CefBrowserHostImpl::RenderViewDeleted(