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 18c9c025b5f94dd9a5ff2daf1fb9e9210a987839..4c3ed193f13e7482c60b82167ee170d4d9b94788 100644 |
--- a/chrome/browser/ui/views/tabs/window_finder_x11.cc |
+++ b/chrome/browser/ui/views/tabs/window_finder_x11.cc |
@@ -11,7 +11,7 @@ |
namespace { |
float GetDeviceScaleFactor() { |
- gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); |
+ gfx::Display display = gfx::Screen::GetScreen()->GetPrimaryDisplay(); |
return display.device_scale_factor(); |
oshima
2016/01/19 20:44:31
can this be single line?
scottmg
2016/01/19 21:55:57
Done.
|
} |