From 909ab8e915b606d1c26a062ff83dd752692ad68f Mon Sep 17 00:00:00 2001 From: "scottmg@chromium.org" Date: Fri, 12 Oct 2012 21:07:26 +0000 Subject: fix events_x.cc compile error TBR=erg@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11127005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161652 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/base/x/events_x.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc index 9a6698c..f958012 100644 --- a/ui/base/x/events_x.cc +++ b/ui/base/x/events_x.cc @@ -599,7 +599,8 @@ gfx::Point CalibrateTouchCoordinates( // Temporarily disabling the calibration for X. bool calibration_x = CommandLine::ForCurrentProcess()->HasSwitch( switches::kEnableTouchCalibrationX); - gfx::Rect bounds = gfx::Screen::GetPrimaryDisplay().bounds_in_pixel(); + gfx::Rect bounds = + gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds_in_pixel(); const int kLeftBorder = 40; const int kRightBorder = 40; const int kBottomBorder = 30; -- cgit v1.1