Fix OSR crash when display DPI changes (issue #2600).
This commit is contained in:
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();
|
||||
|
|
Loading…
Reference in New Issue