Index: net/http/transport_security_state.cc |
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc |
index 5f82c2897b51ec403963e9da6674c389f38aff73..fa4f7876780fca1c86a0b32c1278f75d615f0716 100644 |
--- a/net/http/transport_security_state.cc |
+++ b/net/http/transport_security_state.cc |
@@ -91,7 +91,7 @@ std::unique_ptr<base::ListValue> GetPEMEncodedChainAsList( |
std::vector<std::string> pem_encoded_chain; |
cert_chain->GetPEMEncodedChain(&pem_encoded_chain); |
for (const std::string& cert : pem_encoded_chain) |
- result->Append(base::MakeUnique<base::StringValue>(cert)); |
+ result->Append(base::MakeUnique<base::Value>(cert)); |
return result; |
} |
@@ -157,7 +157,7 @@ bool GetHPKPReport(const HostPortPair& host_port_pair, |
known_pin += "\"" + base64_value + "\""; |
known_pin_list->Append( |
- std::unique_ptr<base::Value>(new base::StringValue(known_pin))); |
+ std::unique_ptr<base::Value>(new base::Value(known_pin))); |
} |
report.Set("known-pins", std::move(known_pin_list)); |