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

Unified Diff: chromeos/network/network_state_unittest.cc

Issue 2871653002: Remove raw base::DictionaryValue::SetWithoutPathExpansion in //chromeos (Closed)
Patch Set: Minor Fix Created 3 years, 7 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_state.cc ('k') | chromeos/network/network_ui_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state_unittest.cc
diff --git a/chromeos/network/network_state_unittest.cc b/chromeos/network/network_state_unittest.cc
index 5cd74891d191a629e059963358b1e62616cc7dc8..fc008b758642d39084154a4475077e8f4c33e403 100644
--- a/chromeos/network/network_state_unittest.cc
+++ b/chromeos/network/network_state_unittest.cc
@@ -30,7 +30,7 @@ class NetworkStateTest : public testing::Test {
protected:
bool SetProperty(const std::string& key, std::unique_ptr<base::Value> value) {
const bool result = network_state_.PropertyChanged(key, *value);
- properties_.SetWithoutPathExpansion(key, value.release());
+ properties_.SetWithoutPathExpansion(key, std::move(value));
return result;
}
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_ui_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698