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

Unified Diff: ash/screen_ash.cc

Issue 10952028: Fix crashers in GetPrimaryDisplay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ash/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index e72dfb1705f3525dcbd354fb3296814b5229e20f..efda02240d0849c533e6c4044d836a50d6bbb515 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -117,7 +117,7 @@ gfx::Display ScreenAsh::GetDisplayMatching(const gfx::Rect& match_rect) const {
}
gfx::Display ScreenAsh::GetPrimaryDisplay() const {
- return Shell::GetInstance()->display_controller()->primary_display();
+ return DisplayController::GetPrimaryDisplay();
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698