cef/patch/patches/renderer_host_1070713.patch

14 lines
570 B
Diff

diff --git content/browser/renderer_host/render_view_host_impl.cc content/browser/renderer_host/render_view_host_impl.cc
index 52ce9d2c8c5e2..b94e96d0c5b52 100644
--- content/browser/renderer_host/render_view_host_impl.cc
+++ content/browser/renderer_host/render_view_host_impl.cc
@@ -743,6 +743,8 @@ bool RenderViewHostImpl::IsRenderViewLive() const {
}
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
+ return;
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
}