mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-04 03:47:41 +01:00
- Windows: 10.0.19041 SDK is now required. - macOS: 10.15.1 SDK (at least Xcode 11.2) is now required. - Remove CefMediaSource::IsValid and CefMediaSink::IsValid which would always return true.
14 lines
562 B
Diff
14 lines
562 B
Diff
diff --git content/browser/renderer_host/render_view_host_impl.cc content/browser/renderer_host/render_view_host_impl.cc
|
|
index f2c4cbf78618..2a2f4d475538 100644
|
|
--- content/browser/renderer_host/render_view_host_impl.cc
|
|
+++ content/browser/renderer_host/render_view_host_impl.cc
|
|
@@ -509,6 +509,8 @@ bool RenderViewHostImpl::IsRenderViewLive() {
|
|
}
|
|
|
|
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
|
|
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
|
|
+ return;
|
|
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
|
|
}
|
|
|