Index: ash/system/tray/system_tray.cc |
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
index cbd5f13bd2c02bb3e4db8b16ff951de99264e3b7..9bd30a016436bd6ba49874f137e2528f86410131 100644 |
--- a/ash/system/tray/system_tray.cc |
+++ b/ash/system/tray/system_tray.cc |
@@ -182,10 +182,8 @@ |
AddTrayItem(new TraySms(this)); |
AddTrayItem(new TrayBluetooth(this)); |
AddTrayItem(new TrayDisplay(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 ScreenCaptureTrayItem(this)); |
+ AddTrayItem(new ScreenShareTrayItem(this)); |
AddTrayItem(new MultiProfileMediaTrayItem(this)); |
AddTrayItem(new TrayAudioChromeOs(this)); |
AddTrayItem(new TrayBrightness(this)); |