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

Unified Diff: ash/system/chromeos/tray_display.cc

Issue 12217120: Add IsInternal property to gfx::Display (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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/system/chromeos/tray_display.cc
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc
index dd75fedbba3764f394ecdd63b93619f5f53af5a2..bff2a73cd061cd1431508167411d21907e7177c0 100644
--- a/ash/system/chromeos/tray_display.cc
+++ b/ash/system/chromeos/tray_display.cc
@@ -86,7 +86,7 @@ class DisplayView : public ash::internal::ActionableView {
string16 GetExternalDisplayName() {
#if defined(USE_X11)
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
- int64 internal_display_id = display_manager->internal_display_id();
+ int64 internal_display_id = gfx::Display::internal_display_id();
int64 primary_display_id =
gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id();

Powered by Google App Engine
This is Rietveld 408576698