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

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: sync 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
« no previous file with comments | « ash/extended_desktop_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index c98996aab728a77ba424da5b87bcd2506b649dcb..054b01fda4eb9eb78f7e8691da46e34e2fd21816 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
« no previous file with comments | « ash/extended_desktop_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698