| Index: components/cronet/android/cronet_url_request_adapter.cc
|
| diff --git a/components/cronet/android/cronet_url_request_adapter.cc b/components/cronet/android/cronet_url_request_adapter.cc
|
| index 2994e247be671fef415db54a1fe9556aec8fdeb7..288157c04d4a7114308240574d18a111f931aef0 100644
|
| --- a/components/cronet/android/cronet_url_request_adapter.cc
|
| +++ b/components/cronet/android/cronet_url_request_adapter.cc
|
| @@ -359,10 +359,10 @@ CronetURLRequestAdapter::GetResponseHeaders(JNIEnv* env) {
|
| const net::HttpResponseHeaders* headers = url_request_->response_headers();
|
| // Returns an empty array if |headers| is nullptr.
|
| if (headers != nullptr) {
|
| - void* iter = nullptr;
|
| + size_t iter = 0;
|
| std::string header_name;
|
| std::string header_value;
|
| - while (headers->EnumerateHeaderLines(&iter, &header_name, &header_value)) {
|
| + while (headers->EnumerateHeaderLines(iter, &header_name, &header_value)) {
|
| response_headers.push_back(header_name);
|
| response_headers.push_back(header_value);
|
| }
|
|
|