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
|
2021-10-19 00:17:16 +02:00
|
|
|
index 21cbb423d083a..4e92422e467e2 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
|
2021-10-19 00:17:16 +02:00
|
|
|
@@ -627,6 +627,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);
|
|
|
|
}
|
|
|
|
|