mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-20 21:44:06 +01:00
Ignore OSR paint events on hidden views (fixes issue #2817)
This commit is contained in:
parent
0f944cdc55
commit
80fc651d7e
@ -1312,6 +1312,11 @@ void CefRenderWidgetHostViewOSR::OnPaint(const gfx::Rect& damage_rect,
|
||||
const void* pixels) {
|
||||
TRACE_EVENT0("cef", "CefRenderWidgetHostViewOSR::OnPaint");
|
||||
|
||||
// Workaround for https://bitbucket.org/chromiumembedded/cef/issues/2817
|
||||
if (!is_showing_) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!pixels) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user