mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix background color assignment for popups (fixes issue #2482)
This commit is contained in:
@ -487,10 +487,5 @@ patches = [
|
||||
# Fix ScreenlockMonitorDeviceSource window creation error.
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=1058556
|
||||
'name': 'win_screenlock_1058556',
|
||||
},
|
||||
{
|
||||
# Fix unbound AssociatedRemote error in SetBackgroundOpaque.
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=1070713
|
||||
'name': 'renderer_host_1070713',
|
||||
}
|
||||
]
|
||||
|
@ -1,13 +0,0 @@
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user