mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
mac: Fix OSR scaling behavior when switching displays (fixes issue #3423)
This commit is contained in:
committed by
Marshall Greenblatt
parent
f6d626d979
commit
b1a530c76a
@@ -1079,6 +1079,7 @@ void CefRenderWidgetHostViewOSR::SynchronizeVisualProperties(
|
||||
|
||||
void CefRenderWidgetHostViewOSR::OnScreenInfoChanged() {
|
||||
TRACE_EVENT0("cef", "CefRenderWidgetHostViewOSR::OnScreenInfoChanged");
|
||||
InvalidateLocalSurfaceId();
|
||||
if (!render_widget_host_) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user