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

Unified Diff: ui/aura/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/display_manager.h ('k') | ui/aura/single_display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/display_manager.cc
diff --git a/ui/aura/display_manager.cc b/ui/aura/display_manager.cc
index af1e848a06edada676eb835b8a8ae886b20a94aa..61f955fc195097b42252ff749f4104dd654fd29f 100644
--- a/ui/aura/display_manager.cc
+++ b/ui/aura/display_manager.cc
@@ -51,7 +51,7 @@ gfx::Display DisplayManager::CreateDisplayFromSpec(const std::string& spec) {
RootWindow* DisplayManager::CreateRootWindowForPrimaryDisplay() {
DisplayManager* manager = aura::Env::GetInstance()->display_manager();
RootWindow* root =
- manager->CreateRootWindowForDisplay(manager->GetDisplayAt(0));
+ manager->CreateRootWindowForDisplay(*manager->GetDisplayAt(0));
if (use_fullscreen_host_window_)
root->ConfineCursorToWindow();
return root;
« no previous file with comments | « ui/aura/display_manager.h ('k') | ui/aura/single_display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698