cef/patch/patches/renderer_host_1070713.patch
2021-04-23 11:38:51 -04:00

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 00644aa7553c8..2b99e7d84b3f2 100644
--- content/browser/renderer_host/render_view_host_impl.cc
+++ content/browser/renderer_host/render_view_host_impl.cc
@@ -606,6 +606,8 @@ bool RenderViewHostImpl::IsRenderViewLive() {
}
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
+ return;
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
}