diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 21:07:26 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 21:07:26 +0000 |
commit | 909ab8e915b606d1c26a062ff83dd752692ad68f (patch) | |
tree | 24967d61c3bc53d59a13fd199919bcd609ea2e03 | |
parent | fe3d843cc6748a8c54ec13ac726660e7b2ab940e (diff) | |
download | chromium_src-909ab8e915b606d1c26a062ff83dd752692ad68f.zip chromium_src-909ab8e915b606d1c26a062ff83dd752692ad68f.tar.gz chromium_src-909ab8e915b606d1c26a062ff83dd752692ad68f.tar.bz2 |
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
-rw-r--r-- | ui/base/x/events_x.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; |