| Index: chrome/browser/ui/views/tabs/window_finder_x11.cc
|
| diff --git a/chrome/browser/ui/views/tabs/window_finder_x11.cc b/chrome/browser/ui/views/tabs/window_finder_x11.cc
|
| index c96e03c48a1f295170484939d7506801067b4c9a..1401d9d1075ea2bd4491fd27da5eec8003577516 100644
|
| --- a/chrome/browser/ui/views/tabs/window_finder_x11.cc
|
| +++ b/chrome/browser/ui/views/tabs/window_finder_x11.cc
|
| @@ -4,14 +4,16 @@
|
|
|
| #include "chrome/browser/ui/views/tabs/window_finder.h"
|
|
|
| +#include "ui/display/screen.h"
|
| #include "ui/gfx/geometry/point_conversions.h"
|
| -#include "ui/gfx/screen.h"
|
| #include "ui/views/widget/desktop_aura/x11_topmost_window_finder.h"
|
|
|
| namespace {
|
|
|
| float GetDeviceScaleFactor() {
|
| - return gfx::Screen::GetScreen()->GetPrimaryDisplay().device_scale_factor();
|
| + return display::Screen::GetScreen()
|
| + ->GetPrimaryDisplay()
|
| + .device_scale_factor();
|
| }
|
|
|
| gfx::Point DIPToPixelPoint(const gfx::Point& dip_point) {
|
|
|