mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-19 05:30:40 +01:00
This change is causing the OSRTest.OsrPopupJSOtherClient test to fail. This reverts commit 3adb801ca855a1cf739b27f8369026b0dd289f77.
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 01a4e3dc134b..cddb71886d4f 100644
|
|
--- content/browser/renderer_host/render_view_host_impl.cc
|
|
+++ content/browser/renderer_host/render_view_host_impl.cc
|
|
@@ -455,6 +455,8 @@ bool RenderViewHostImpl::IsRenderViewLive() {
|
|
}
|
|
|
|
void RenderViewHostImpl::SetBackgroundOpaque(bool opaque) {
|
|
+ if (!GetWidget()->GetAssociatedFrameWidget().is_bound())
|
|
+ return;
|
|
GetWidget()->GetAssociatedFrameWidget()->SetBackgroundOpaque(opaque);
|
|
}
|
|
|