summaryrefslogtreecommitdiffstats
path: root/ui/base/x/events_x.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/x/events_x.cc')
-rw-r--r--ui/base/x/events_x.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc
index 936947a..3ecba7e5 100644
--- a/ui/base/x/events_x.cc
+++ b/ui/base/x/events_x.cc
@@ -581,7 +581,7 @@ gfx::Point CalibrateTouchCoordinates(
// testing with. I have the feeling that the DPI resolution of the bezel is
// less then the dpi resolution over the visible part - which would explain
// why the small value (50) is so wide compared to the entire area.
- gfx::Rect bounds = gfx::Screen::GetPrimaryMonitor().bounds_in_pixel();
+ gfx::Rect bounds = gfx::Screen::GetPrimaryDisplay().bounds_in_pixel();
const int kLeftBorder = 50;
const int kRightBorder = 50;
const int kBottomBorder = 50;