Index: components/sync_wifi/wifi_credential.cc |
diff --git a/components/sync_wifi/wifi_credential.cc b/components/sync_wifi/wifi_credential.cc |
index a6a0e389ec0a84dcdd92e8ae04935de2655dddeb..0337ee8188f30e420dbe0a5118c3a929e86feeed 100644 |
--- a/components/sync_wifi/wifi_credential.cc |
+++ b/components/sync_wifi/wifi_credential.cc |
@@ -55,17 +55,17 @@ std::unique_ptr<base::DictionaryValue> WifiCredential::ToOncProperties() const { |
std::unique_ptr<base::DictionaryValue> onc_properties( |
new base::DictionaryValue()); |
onc_properties->Set(onc::toplevel_config::kType, |
- new base::StringValue(onc::network_type::kWiFi)); |
+ new base::Value(onc::network_type::kWiFi)); |
// TODO(quiche): Switch to the HexSSID property, once ONC fully supports it. |
// crbug.com/432546. |
onc_properties->Set(onc::network_config::WifiProperty(onc::wifi::kSSID), |
- new base::StringValue(ssid_utf8)); |
+ new base::Value(ssid_utf8)); |
onc_properties->Set(onc::network_config::WifiProperty(onc::wifi::kSecurity), |
- new base::StringValue(onc_security)); |
+ new base::Value(onc_security)); |
if (WifiSecurityClassSupportsPassphrases(security_class())) { |
onc_properties->Set( |
onc::network_config::WifiProperty(onc::wifi::kPassphrase), |
- new base::StringValue(passphrase())); |
+ new base::Value(passphrase())); |
} |
return onc_properties; |
} |