Index: ui/base/x/events_x.cc |
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc |
index 936947ae173c2ac9c218ebdc3f29643404e5d661..3ecba7e5b34f8dca5cd22450a8e46c93b516b170 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; |