| Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| index f578c43a8f93becd830ddcdff5f91ad1ecb04fe8..b3af159b00d085292a76997c3500af3d16c086d9 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| @@ -676,11 +676,8 @@ void RemoteToLocalSyncer::DidListFolderContent(
|
| }
|
|
|
| children->reserve(children->size() + file_list->items().size());
|
| - for (ScopedVector<google_apis::FileResource>::const_iterator itr =
|
| - file_list->items().begin();
|
| - itr != file_list->items().end();
|
| - ++itr) {
|
| - children->push_back((*itr)->file_id());
|
| + for (const auto& file_resource : file_list->items()) {
|
| + children->push_back(file_resource->file_id());
|
| }
|
|
|
| if (!file_list->next_link().is_empty()) {
|
|
|