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

Unified Diff: ash/display/display_controller.h

Issue 10961021: Return primary display if out of bounds point or NULL ponter is passed to gfx::Screen::GeDisplayNea (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a few other tests that were using native coordinate. it shoud use screen coordinate now. Created 8 years, 3 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 | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.h
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
index 8a822cec7fff76088343c8dcec575dfa67202041..0c00cfb3b6463e03001c54cf709124a70393ea00 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -85,7 +85,7 @@ class ASH_EXPORT DisplayController : public aura::DisplayObserver {
// Gets primary display. This information is stored in global
// object as this can be accessed after Shell is closed.
- static gfx::Display GetPrimaryDisplay();
+ static const gfx::Display& GetPrimaryDisplay();
// Initializes primary display.
void InitPrimaryDisplay();
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698