Index: components/arc/net/arc_net_host_impl.cc |
diff --git a/components/arc/net/arc_net_host_impl.cc b/components/arc/net/arc_net_host_impl.cc |
index bc2ed4dd9a509148f20fa2dc5bec0594132773d6..09caeb9c66c59b912175ddb08bfb8731a2972c43 100644 |
--- a/components/arc/net/arc_net_host_impl.cc |
+++ b/components/arc/net/arc_net_host_impl.cc |
@@ -450,7 +450,8 @@ void ArcNetHostImpl::CreateNetwork(mojom::WifiConfigurationPtr cfg, |
properties->SetStringWithoutPathExpansion(onc::network_config::kType, |
onc::network_config::kWiFi); |
- wifi_dict->SetStringWithoutPathExpansion(onc::wifi::kHexSSID, cfg->hexssid); |
+ wifi_dict->SetStringWithoutPathExpansion(onc::wifi::kHexSSID, |
+ cfg->hexssid.get()); |
wifi_dict->SetBooleanWithoutPathExpansion(onc::wifi::kAutoConnect, |
details->autoconnect); |
if (cfg->security.get().empty()) { |
@@ -458,10 +459,10 @@ void ArcNetHostImpl::CreateNetwork(mojom::WifiConfigurationPtr cfg, |
onc::wifi::kSecurityNone); |
} else { |
wifi_dict->SetStringWithoutPathExpansion(onc::wifi::kSecurity, |
- cfg->security); |
+ cfg->security.get()); |
if (!details->passphrase.is_null()) { |
wifi_dict->SetStringWithoutPathExpansion(onc::wifi::kPassphrase, |
- details->passphrase); |
+ details->passphrase.get()); |
} |
} |
properties->SetWithoutPathExpansion(onc::network_config::kWiFi, |