Index: ash/common/system/tray/system_tray.cc |
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc |
index 979e3a197bf51a66dbd25c7795bd57f0adfe2872..b183d77053878950b884ce0271e9c39726f70b41 100644 |
--- a/ash/common/system/tray/system_tray.cc |
+++ b/ash/common/system/tray/system_tray.cc |
@@ -197,10 +197,6 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) { |
AddTrayItem(tray_cast_); |
// TODO(jamescook): Remove this when mus has support for display management |
James Cook
2016/08/05 17:00:24
Delete this comment.
yiyix
2016/08/13 05:28:50
Done.
|
// and we have a DisplayManager equivalent. See http://crbug.com/548429 |
- std::unique_ptr<SystemTrayItem> tray_display = |
- delegate->CreateDisplayTrayItem(this); |
- if (tray_display) |
- AddTrayItem(tray_display.release()); |
screen_capture_tray_item_ = new ScreenCaptureTrayItem(this); |
AddTrayItem(screen_capture_tray_item_); |
screen_share_tray_item_ = new ScreenShareTrayItem(this); |