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

Unified Diff: components/drive/chromeos/file_system/search_operation.cc

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Created 3 years, 11 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: components/drive/chromeos/file_system/search_operation.cc
diff --git a/components/drive/chromeos/file_system/search_operation.cc b/components/drive/chromeos/file_system/search_operation.cc
index a2608c3f4149251d42b87e9886886981cd143f9f..331e6cd54ab330d9a7e7813f1e391f27161bac0c 100644
--- a/components/drive/chromeos/file_system/search_operation.cc
+++ b/components/drive/chromeos/file_system/search_operation.cc
@@ -37,7 +37,8 @@ FileError ResolveSearchResultOnBlockingPool(
DCHECK(resource_metadata);
DCHECK(result);
- const ScopedVector<google_apis::FileResource>& entries = file_list->items();
+ const std::vector<std::unique_ptr<google_apis::FileResource>>& entries =
+ file_list->items();
result->reserve(entries.size());
for (size_t i = 0; i < entries.size(); ++i) {
std::string local_id;

Powered by Google App Engine
This is Rietveld 408576698