| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index 68edc972456396cceee7981437090e9f02c47eb2..c89cccb81947326410e91c78089d0633fde6a131 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -1101,6 +1101,11 @@ void RenderWidgetHostImpl::NotifyScreenInfoChanged() {
|
| }
|
|
|
| void RenderWidgetHostImpl::SetDeviceScaleFactor(float scale) {
|
| + // Send secreen info as well because JavaScript API |window.open|
|
| + // uses screen info to determine the scale factor (crbug.com/155201).
|
| + // TODO(oshima|thakis): Consolidate SetDeviceScaleFactor and
|
| + // ScreenInfoChanged.
|
| + NotifyScreenInfoChanged();
|
| Send(new ViewMsg_SetDeviceScaleFactor(GetRoutingID(), scale));
|
| }
|
|
|
|
|