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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc
diff --git a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc
index d6728a4c18d66ee4634d8c66e8da77599c21aeb7..c200b175793788368ffd4388889971ac2f9dfec2 100644
--- a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc
+++ b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc
@@ -4,6 +4,7 @@
#include <stddef.h>
+#include <utility>
#include <vector>
#include "base/command_line.h"
@@ -90,7 +91,7 @@ void MTPDeviceDelegateImplWinTest::SetUp() {
TestingBrowserProcess* browser_process = TestingBrowserProcess::GetGlobal();
DCHECK(browser_process);
monitor_ = monitor.get();
- StorageMonitor::SetStorageMonitorForTesting(monitor.Pass());
+ StorageMonitor::SetStorageMonitorForTesting(std::move(monitor));
base::RunLoop runloop;
browser_process->media_file_system_registry()->GetPreferences(profile())->
« no previous file with comments | « chrome/browser/install_verification/win/module_list.cc ('k') | chrome/browser/password_manager/password_store_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698