src: base::Value::HasKey(key) => base::Value::FindKey(key) (#13312)

This commit is contained in:
Shelley Vohr 2018-06-19 20:07:10 -07:00 committed by Samuel Attard
parent 0802f82356
commit c20e0c30a2
3 changed files with 4 additions and 4 deletions

View file

@ -122,7 +122,7 @@ void ToDictionary(base::DictionaryValue* details,
std::string key;
std::string value;
while (headers->EnumerateHeaderLines(&iter, &key, &value)) {
if (dict->HasKey(key)) {
if (dict->FindKey(key)) {
base::ListValue* values = nullptr;
if (dict->GetList(key, &values))
values->AppendString(value);