| Index: components/wifi/wifi_service_mac.mm
|
| diff --git a/components/wifi/wifi_service_mac.mm b/components/wifi/wifi_service_mac.mm
|
| index 5b43a4af897b64f6cdb92a73f9a9972a9d22a938..feb5ea43bc72520d760675dfea1ae3b49295252b 100644
|
| --- a/components/wifi/wifi_service_mac.mm
|
| +++ b/components/wifi/wifi_service_mac.mm
|
| @@ -225,7 +225,7 @@ void WiFiServiceMac::SetProperties(
|
| existing_properties->MergeDictionary(properties.get());
|
| } else {
|
| network_properties_.SetWithoutPathExpansion(network_guid,
|
| - properties.release());
|
| + std::move(properties));
|
| }
|
| }
|
|
|
| @@ -245,8 +245,7 @@ void WiFiServiceMac::CreateNetwork(
|
| *error = kErrorInvalidData;
|
| return;
|
| }
|
| - network_properties_.SetWithoutPathExpansion(guid,
|
| - properties.release());
|
| + network_properties_.SetWithoutPathExpansion(guid, std::move(properties));
|
| *network_guid = guid;
|
| }
|
|
|
|
|