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; |
} |