src: base::Value::HasKey(key) => base::Value::FindKey(key) (#13312)
This commit is contained in:
parent
0802f82356
commit
c20e0c30a2
3 changed files with 4 additions and 4 deletions
|
@ -160,7 +160,7 @@ v8::Local<v8::Value> Converter<net::HttpResponseHeaders*>::ToV8(
|
|||
std::string value;
|
||||
while (headers->EnumerateHeaderLines(&iter, &key, &value)) {
|
||||
key = base::ToLowerASCII(key);
|
||||
if (response_headers.HasKey(key)) {
|
||||
if (response_headers.FindKey(key)) {
|
||||
base::ListValue* values = nullptr;
|
||||
if (response_headers.GetList(key, &values))
|
||||
values->AppendString(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue