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

Unified Diff: components/storage_monitor/storage_monitor_linux_unittest.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
Index: components/storage_monitor/storage_monitor_linux_unittest.cc
diff --git a/components/storage_monitor/storage_monitor_linux_unittest.cc b/components/storage_monitor/storage_monitor_linux_unittest.cc
index 295215e7ed5cefb7ea70937be7cad8436a7f79fb..03a7dd5754a0edf0165c372755e414571d19af7e 100644
--- a/components/storage_monitor/storage_monitor_linux_unittest.cc
+++ b/components/storage_monitor/storage_monitor_linux_unittest.cc
@@ -86,7 +86,7 @@ scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path,
scoped_ptr<StorageInfo> storage_info;
if (!device_found) {
NOTREACHED();
- return storage_info.Pass();
+ return storage_info;
}
StorageInfo::Type type = kTestDeviceData[i].type;
@@ -97,7 +97,7 @@ scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path,
base::ASCIIToUTF16("vendor name"),
base::ASCIIToUTF16("model name"),
kTestDeviceData[i].partition_size_in_bytes));
- return storage_info.Pass();
+ return storage_info;
}
uint64_t GetDevicePartitionSize(const std::string& device) {
« no previous file with comments | « components/storage_monitor/storage_monitor_linux.cc ('k') | components/storage_monitor/test_storage_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698