Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: ui/message_center/message_center_tray_unittest.cc

Issue 1557683002: Convert Pass()→std::move() in //ui (CrOS edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_tray_unittest.cc
diff --git a/ui/message_center/message_center_tray_unittest.cc b/ui/message_center/message_center_tray_unittest.cc
index ec5130d9da1615dbd2aef1a482e5b246a93c4bd3..5d443108cc7c1fa51921f6638037016350b4c400 100644
--- a/ui/message_center/message_center_tray_unittest.cc
+++ b/ui/message_center/message_center_tray_unittest.cc
@@ -300,7 +300,7 @@ TEST_F(MessageCenterTrayTest, ContextMenuTestWithMessageCenter) {
ASCIIToUTF16("Notification message body."), gfx::Image(),
base::string16() /* empty display source */, GURL(), notifier_id2,
message_center::RichNotificationData(), NULL /* delegate */));
- message_center_->AddNotification(notification.Pass());
+ message_center_->AddNotification(std::move(notification));
AddNotification(id3);
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698