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

Unified Diff: components/drive/file_system_unittest.cc

Issue 1552023002: Convert Pass()→std::move() in //components (CrOS edition) (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 | « components/drive/directory_loader_unittest.cc ('k') | components/gcm_driver/gcm_driver_desktop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/file_system_unittest.cc
diff --git a/components/drive/file_system_unittest.cc b/components/drive/file_system_unittest.cc
index b43cf82cf2c7717530dce4a06ce7babd7f7c5b9f..354c3e4d10f2a1a202f2c84aa8d4ec1174ec157f 100644
--- a/components/drive/file_system_unittest.cc
+++ b/components/drive/file_system_unittest.cc
@@ -178,7 +178,7 @@ class FileSystemTest : public testing::Test {
google_apis::test_util::CreateCopyResultCallback(&error, &entry));
content::RunAllBlockingPoolTasksUntilIdle();
- return entry.Pass();
+ return entry;
}
// Gets directory info by path synchronously.
@@ -193,7 +193,7 @@ class FileSystemTest : public testing::Test {
content::RunAllBlockingPoolTasksUntilIdle();
if (error != FILE_ERROR_OK)
entries.reset();
- return entries.Pass();
+ return entries;
}
// Used to implement ReadDirectorySync().
« no previous file with comments | « components/drive/directory_loader_unittest.cc ('k') | components/gcm_driver/gcm_driver_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698