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(); |