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(). |