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

Unified Diff: chrome/browser/download/notification/download_item_notification_unittest.cc

Issue 1552863003: Global conversion of Pass()→std::move(): CrOS edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
Index: chrome/browser/download/notification/download_item_notification_unittest.cc
diff --git a/chrome/browser/download/notification/download_item_notification_unittest.cc b/chrome/browser/download/notification/download_item_notification_unittest.cc
index 635483d15ae4eed9bbb1a84e167f65d7902ff233..211349f4bd050adda8b5240575a7412712d23d8e 100644
--- a/chrome/browser/download/notification/download_item_notification_unittest.cc
+++ b/chrome/browser/download/notification/download_item_notification_unittest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/download/notification/download_item_notification.h"
#include <stddef.h>
+#include <utility>
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
@@ -74,8 +75,8 @@ class DownloadItemNotificationTest : public testing::Test {
profile_ = profile_manager_->CreateTestingProfile("test-user");
scoped_ptr<NotificationUIManager> ui_manager(new StubNotificationUIManager);
- TestingBrowserProcess::GetGlobal()->
- SetNotificationUIManager(ui_manager.Pass());
+ TestingBrowserProcess::GetGlobal()->SetNotificationUIManager(
+ std::move(ui_manager));
download_notification_manager_.reset(
new DownloadNotificationManagerForProfile(profile_, nullptr));

Powered by Google App Engine
This is Rietveld 408576698