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

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

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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
« no previous file with comments | « chromeos/network/network_util.cc ('k') | chromeos/network/onc/onc_merger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_mapper.cc
diff --git a/chromeos/network/onc/onc_mapper.cc b/chromeos/network/onc/onc_mapper.cc
index 16c1172c8dfb2e4af9e9dc6ae71cecded00a2d89..d7417595aef099e1130cb926f896f8b6c4f8eecd 100644
--- a/chromeos/network/onc/onc_mapper.cc
+++ b/chromeos/network/onc/onc_mapper.cc
@@ -82,7 +82,7 @@ void Mapper::MapFields(const OncValueSignature& object_signature,
if (current_field_unknown)
*found_unknown_field = true;
else if (result_value.get() != NULL)
- result->SetWithoutPathExpansion(it.key(), result_value.release());
+ result->SetWithoutPathExpansion(it.key(), std::move(result_value));
else
DCHECK(*nested_error);
}
« no previous file with comments | « chromeos/network/network_util.cc ('k') | chromeos/network/onc/onc_merger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698