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

Unified Diff: chromeos/network/onc/onc_mapper.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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: chromeos/network/onc/onc_mapper.cc
diff --git a/chromeos/network/onc/onc_mapper.cc b/chromeos/network/onc/onc_mapper.cc
index 22f5766e935cfb471edd87c337dabcbef012b51a..16c1172c8dfb2e4af9e9dc6ae71cecded00a2d89 100644
--- a/chromeos/network/onc/onc_mapper.cc
+++ b/chromeos/network/onc/onc_mapper.cc
@@ -120,10 +120,9 @@ std::unique_ptr<base::ListValue> Mapper::MapArray(
int original_index = 0;
for (const auto& entry : onc_array) {
std::unique_ptr<base::Value> result_entry;
- result_entry = MapEntry(original_index,
- *array_signature.onc_array_entry_signature,
- *entry,
- nested_error);
+ result_entry =
+ MapEntry(original_index, *array_signature.onc_array_entry_signature,
+ entry, nested_error);
if (result_entry.get() != NULL)
result_array->Append(std::move(result_entry));
else

Powered by Google App Engine
This is Rietveld 408576698