summaryrefslogtreecommitdiffstats
path: root/ash/screen_ash.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 23:53:10 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 23:53:10 +0000
commit66b05eac19ce1fc251b4cdb174452ab8928f0b01 (patch)
tree6f7e447a2590b29b05246b1e02f2e03b39a7e07c /ash/screen_ash.cc
parent39e71a62e992a5f74e0a7f0df74f034cd442b8d7 (diff)
downloadchromium_src-66b05eac19ce1fc251b4cdb174452ab8928f0b01.zip
chromium_src-66b05eac19ce1fc251b4cdb174452ab8928f0b01.tar.gz
chromium_src-66b05eac19ce1fc251b4cdb174452ab8928f0b01.tar.bz2
Use virtual screen coordinates in Display::bounds
BUG=123160 TEST=monitor_controller_unittests Review URL: https://chromiumcodereview.appspot.com/10696002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/screen_ash.cc')
-rw-r--r--ash/screen_ash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index c98996a..054b01f 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -67,7 +67,7 @@ gfx::Display ScreenAsh::GetDisplayNearestPoint(const gfx::Point& point) const {
}
gfx::Display ScreenAsh::GetPrimaryDisplay() const {
- return GetDisplayManager()->GetDisplayAt(0);
+ return *GetDisplayManager()->GetDisplayAt(0);
}
} // namespace ash