Iterator to use size_t

This commit is contained in:
Brian R. Bondy 2016-04-27 12:01:48 -04:00 committed by Cheng Zhao
parent df386f854f
commit 88d8effa01

View file

@ -692,7 +692,7 @@ void InspectableWebContentsImpl::OnURLFetchComplete(const net::URLFetcher* sourc
response.SetInteger("statusCode", rh ? rh->response_code() : 200);
response.Set("headers", headers);
void* iterator = nullptr;
size_t iterator = 0;
std::string name;
std::string value;
while (rh && rh->EnumerateHeaderLines(&iterator, &name, &value))