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

Unified Diff: ui/aura/single_display_manager.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 | « ui/aura/single_display_manager.h ('k') | ui/gfx/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/single_display_manager.cc
diff --git a/ui/aura/single_display_manager.cc b/ui/aura/single_display_manager.cc
index 3ffc80b3a616c986015dce64d6f0c0738137b95d..64b8d07afdd0d2bf53092af4bb7894a5b2d38abb 100644
--- a/ui/aura/single_display_manager.cc
+++ b/ui/aura/single_display_manager.cc
@@ -54,8 +54,8 @@ RootWindow* SingleDisplayManager::CreateRootWindowForDisplay(
return root_window_;
}
-const gfx::Display& SingleDisplayManager::GetDisplayAt(size_t index) {
- return display_;
+gfx::Display* SingleDisplayManager::GetDisplayAt(size_t index) {
+ return &display_;
}
size_t SingleDisplayManager::GetNumDisplays() const {
« no previous file with comments | « ui/aura/single_display_manager.h ('k') | ui/gfx/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698