Index: ash/system/chromeos/screen_security/screen_share_tray_item.cc |
diff --git a/ash/system/chromeos/screen_security/screen_share_tray_item.cc b/ash/system/chromeos/screen_security/screen_share_tray_item.cc |
index 1a23b7f641f6748509af0e9c606ed187d8fcdee3..1c8d8a0f73f13e6464e3b8e05f1255aeec803d78 100644 |
--- a/ash/system/chromeos/screen_security/screen_share_tray_item.cc |
+++ b/ash/system/chromeos/screen_security/screen_share_tray_item.cc |
@@ -4,6 +4,8 @@ |
#include "ash/system/chromeos/screen_security/screen_share_tray_item.h" |
+#include <utility> |
+ |
#include "ash/shell.h" |
#include "ash/system/system_notifier.h" |
#include "grit/ash_resources.h" |
@@ -74,7 +76,8 @@ void ScreenShareTrayItem::CreateOrUpdateNotification() { |
system_notifier::kNotifierScreenShare), |
data, new tray::ScreenNotificationDelegate(this))); |
notification->SetSystemPriority(); |
- message_center::MessageCenter::Get()->AddNotification(notification.Pass()); |
+ message_center::MessageCenter::Get()->AddNotification( |
+ std::move(notification)); |
} |
std::string ScreenShareTrayItem::GetNotificationId() { |