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

Unified Diff: chromeos/network/network_state_unittest.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_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 e151c96de34884a5b4fa812be6af3304cf640f75..b625ef6d57dbb1654257d1871f4459439e871ce6 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