Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2117)

Unified Diff: ash/screen_ash.cc

Issue 10696002: ASH: Use virtual screen coordinates in Display::bounds() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index e444ebfd40f4c5ddcef4180b6a9d65f7f59736c6..6ddb78ecbf4de163d2f4e18b94887f37e1b909aa 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 GetMonitorManager()->GetDisplayAt(0);
+ return *GetMonitorManager()->GetDisplayAt(0);
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698