2020-04-24 21:41:07 +02:00
|
|
|
diff --git content/browser/renderer_host/render_view_host_impl.cc content/browser/renderer_host/render_view_host_impl.cc
|
2022-01-25 21:26:51 +01:00
|
|
|
index 950fbd61f3a95..27064eb0a26bf 100644
|
2020-04-24 21:41:07 +02:00
|
|
|
--- content/browser/renderer_host/render_view_host_impl.cc
|
|
|
|
+++ content/browser/renderer_host/render_view_host_impl.cc
|
2022-01-25 21:26:51 +01:00
|
|
|
@@ -643,6 +643,8 @@ bool RenderViewHostImpl::IsRenderViewLive() {
|
2020-04-24 21:41:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
|
|
|
|
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
|
|
|
|
+ return;
|
|
|
|
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
|
|
|
|
}
|
|
|
|
|