Index: ash/system/chromeos/screen_security/screen_capture_tray_item.cc |
diff --git a/ash/system/chromeos/screen_security/screen_capture_tray_item.cc b/ash/system/chromeos/screen_security/screen_capture_tray_item.cc |
index 6dc83601c19758a457663fc059981c040e4e4a62..ecd157f22c2bb51b9d54fc8376561738f890c9db 100644 |
--- a/ash/system/chromeos/screen_security/screen_capture_tray_item.cc |
+++ b/ash/system/chromeos/screen_security/screen_capture_tray_item.cc |
@@ -4,6 +4,8 @@ |
#include "ash/system/chromeos/screen_security/screen_capture_tray_item.h" |
+#include <utility> |
+ |
#include "ash/shell.h" |
#include "ash/system/system_notifier.h" |
#include "grit/ash_resources.h" |
@@ -66,7 +68,8 @@ void ScreenCaptureTrayItem::CreateOrUpdateNotification() { |
system_notifier::kNotifierScreenCapture), |
data, new tray::ScreenNotificationDelegate(this))); |
notification->SetSystemPriority(); |
- message_center::MessageCenter::Get()->AddNotification(notification.Pass()); |
+ message_center::MessageCenter::Get()->AddNotification( |
+ std::move(notification)); |
} |
std::string ScreenCaptureTrayItem::GetNotificationId() { |