mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix OSR crash when display DPI changes (issue #2600).
This commit is contained in:
committed by
Marshall Greenblatt
parent
34db87563e
commit
18ef4f72c7
@ -1255,7 +1255,7 @@ void CefRenderWidgetHostViewOSR::OnScreenInfoChanged() {
|
||||
if (!render_widget_host_)
|
||||
return;
|
||||
|
||||
// TODO(OSR): Update the backing store.
|
||||
SynchronizeVisualProperties();
|
||||
|
||||
if (render_widget_host_->delegate())
|
||||
render_widget_host_->delegate()->SendScreenRects();
|
||||
|
Reference in New Issue
Block a user