mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 01:56:20 +01:00
66648c2343
- Remove CefRequestContextHandler::OnBeforePluginLoad and CefRequestContext::PurgePluginListCache (fixes issue #3047). These methods stopped being relevant after the removal of Flash support in January 2021. The last remaining PPAPI plugin (PDF viewer) will switch to a non-plugin implementation in the near future (see https://crbug.com/702993#c58) and functionality related to plugin filtering has already been removed in https://crrev.com/343ae351c9.
14 lines
564 B
Diff
14 lines
564 B
Diff
diff --git content/browser/renderer_host/render_view_host_impl.cc content/browser/renderer_host/render_view_host_impl.cc
|
|
index 621a961ba0d44..18eae69091d70 100644
|
|
--- content/browser/renderer_host/render_view_host_impl.cc
|
|
+++ content/browser/renderer_host/render_view_host_impl.cc
|
|
@@ -630,6 +630,8 @@ bool RenderViewHostImpl::IsRenderViewLive() {
|
|
}
|
|
|
|
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
|
|
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
|
|
+ return;
|
|
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
|
|
}
|
|
|