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-06-17 15:28:55 +02:00
|
|
|
index 1f6d9be104324..f377ecfac504c 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-06-17 15:28:55 +02:00
|
|
|
@@ -662,6 +662,8 @@ bool RenderViewHostImpl::IsRenderViewLive() const {
|
2020-04-24 21:41:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
|
|
|
|
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
|
|
|
|
+ return;
|
|
|
|
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
|
|
|
|
}
|
|
|
|
|