| Index: ui/aura/window_tree_host_platform.cc
|
| diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc
|
| index 1e4baf6392e502d43ee0c3949bb1bda04031756a..d2781e4d9e97d769a31d4a08bbdf35ee4ad8c4f7 100644
|
| --- a/ui/aura/window_tree_host_platform.cc
|
| +++ b/ui/aura/window_tree_host_platform.cc
|
| @@ -125,7 +125,7 @@ void WindowTreeHostPlatform::OnCursorVisibilityChangedNative(bool show) {
|
|
|
| void WindowTreeHostPlatform::OnBoundsChanged(const gfx::Rect& new_bounds) {
|
| float current_scale = compositor()->device_scale_factor();
|
| - float new_scale = gfx::Screen::GetScreenFor(window())
|
| + float new_scale = gfx::Screen::GetScreen()
|
| ->GetDisplayNearestWindow(window())
|
| .device_scale_factor();
|
| gfx::Rect old_bounds = bounds_;
|
|
|