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

Unified Diff: ui/message_center/views/message_popup_collection_unittest.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (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/message_center/views/message_center_view_unittest.cc ('k') | ui/message_center/views/message_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_popup_collection_unittest.cc
diff --git a/ui/message_center/views/message_popup_collection_unittest.cc b/ui/message_center/views/message_popup_collection_unittest.cc
index 884820cd7f60ae0e9b15024b0832df50b6113590..c72bed3f0c13a74e122e0bea9aa138742d4379e2 100644
--- a/ui/message_center/views/message_popup_collection_unittest.cc
+++ b/ui/message_center/views/message_popup_collection_unittest.cc
@@ -5,6 +5,7 @@
#include "ui/message_center/views/message_popup_collection.h"
#include <list>
+#include <utility>
#include "base/message_loop/message_loop.h"
#include "base/strings/string_number_conversions.h"
@@ -99,7 +100,7 @@ class MessagePopupCollectionTest : public views::ViewsTestBase {
base::UTF8ToUTF16("test message"), gfx::Image(),
base::string16() /* display_source */, GURL(), NotifierId(),
message_center::RichNotificationData(), new NotificationDelegate()));
- MessageCenter::Get()->AddNotification(notification.Pass());
+ MessageCenter::Get()->AddNotification(std::move(notification));
return id;
}
« no previous file with comments | « ui/message_center/views/message_center_view_unittest.cc ('k') | ui/message_center/views/message_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698