diff options
Diffstat (limited to 'ui/aura/root_window_host_linux.cc')
-rw-r--r-- | ui/aura/root_window_host_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc index 419cbb81..fe64054 100644 --- a/ui/aura/root_window_host_linux.cc +++ b/ui/aura/root_window_host_linux.cc @@ -816,7 +816,7 @@ void RootWindowHostLinux::SetBounds(const gfx::Rect& bounds) { // size, which is in DIP, changes when the scale changes. float current_scale = root_window_->compositor()->device_scale_factor(); float new_scale = - gfx::Screen::GetMonitorNearestWindow(root_window_).device_scale_factor(); + gfx::Screen::GetDisplayNearestWindow(root_window_).device_scale_factor(); bool size_changed = bounds_.size() != bounds.size() || current_scale != new_scale; |