| Index: ash/system/tray_display.cc
|
| diff --git a/ash/system/tray_display.cc b/ash/system/tray_display.cc
|
| index 1e390fcc874ad361c5112b922571b2b080b2a308..66c99526b59cb10a732211a1a2a3c27ee25b2b92 100644
|
| --- a/ash/system/tray_display.cc
|
| +++ b/ash/system/tray_display.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/system/tray_display.h"
|
|
|
| #include "ash/display/display_controller.h"
|
| +#include "ash/screen_ash.h"
|
| #include "ash/shell.h"
|
| #include "ash/system/tray/system_tray.h"
|
| #include "ash/system/tray/system_tray_delegate.h"
|
| @@ -85,7 +86,8 @@ class DisplayView : public ash::internal::ActionableView {
|
| if (display_manager->GetNumDisplays() > 1) {
|
| label_->SetText(l10n_util::GetStringFUTF16(
|
| IDS_ASH_STATUS_TRAY_DISPLAY_EXTENDED,
|
| - UTF8ToUTF16(display_manager->GetDisplayNameAt(1))));
|
| + UTF8ToUTF16(display_manager->GetDisplayNameFor(
|
| + ScreenAsh::GetSecondaryDisplay()))));
|
| SetVisible(true);
|
| } else {
|
| SetVisible(false);
|
|
|