| Index: chrome/browser/download/notification/download_notification_browsertest.cc
|
| diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc
|
| index 3293f97a71a27d2c02b86a94c9926cdc93a07f81..ea910c560611857596daa54d2fc0615a55bbafde 100644
|
| --- a/chrome/browser/download/notification/download_notification_browsertest.cc
|
| +++ b/chrome/browser/download/notification/download_notification_browsertest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include <stddef.h>
|
| +#include <utility>
|
|
|
| #include "base/command_line.h"
|
| #include "base/macros.h"
|
| @@ -338,7 +339,7 @@ class DownloadNotificationTest : public DownloadNotificationTestBase {
|
| test_delegate->GetDownloadIdReceiverCallback().Run(
|
| content::DownloadItem::kInvalidId + 1);
|
| DownloadServiceFactory::GetForBrowserContext(profile)
|
| - ->SetDownloadManagerDelegateForTesting(test_delegate.Pass());
|
| + ->SetDownloadManagerDelegateForTesting(std::move(test_delegate));
|
|
|
| DownloadNotificationTestBase::SetUpOnMainThread();
|
| }
|
| @@ -359,7 +360,8 @@ class DownloadNotificationTest : public DownloadNotificationTestBase {
|
| incognito_test_delegate.reset(
|
| new TestChromeDownloadManagerDelegate(incognito_profile));
|
| DownloadServiceFactory::GetForBrowserContext(incognito_profile)
|
| - ->SetDownloadManagerDelegateForTesting(incognito_test_delegate.Pass());
|
| + ->SetDownloadManagerDelegateForTesting(
|
| + std::move(incognito_test_delegate));
|
| }
|
|
|
| TestChromeDownloadManagerDelegate* GetIncognitoDownloadManagerDelegate()
|
|
|