diff options
Diffstat (limited to 'ash/system/tray/system_tray.cc')
-rw-r--r-- | ash/system/tray/system_tray.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc index 9bd30a0..cbd5f13 100644 --- a/ash/system/tray/system_tray.cc +++ b/ash/system/tray/system_tray.cc @@ -182,8 +182,10 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) { AddTrayItem(new TraySms(this)); AddTrayItem(new TrayBluetooth(this)); AddTrayItem(new TrayDisplay(this)); - AddTrayItem(new ScreenCaptureTrayItem(this)); - AddTrayItem(new ScreenShareTrayItem(this)); + screen_capture_tray_item_ = new ScreenCaptureTrayItem(this); + AddTrayItem(screen_capture_tray_item_); + screen_share_tray_item_ = new ScreenShareTrayItem(this); + AddTrayItem(screen_share_tray_item_); AddTrayItem(new MultiProfileMediaTrayItem(this)); AddTrayItem(new TrayAudioChromeOs(this)); AddTrayItem(new TrayBrightness(this)); |