diff options
author | olli.raula <olli.raula@intel.com> | 2016-01-25 00:37:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-25 08:38:25 +0000 |
commit | ee489a59d11a8096dbe7f09af35ba3b604dfa6c3 (patch) | |
tree | 246d5fa9b15a297736c42816c3f50c61de20e2cb /sync | |
parent | 6daf96557d0720b2a7298dde3633f74e30709313 (diff) | |
download | chromium_src-ee489a59d11a8096dbe7f09af35ba3b604dfa6c3.zip chromium_src-ee489a59d11a8096dbe7f09af35ba3b604dfa6c3.tar.gz chromium_src-ee489a59d11a8096dbe7f09af35ba3b604dfa6c3.tar.bz2 |
Remove use of void** from HttpResponseHeaders::EnumerateHeader
Remove use of of obaque void** and use instead
size_t* parameter. Logic inside is untouched.
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1607773005
Cr-Commit-Position: refs/heads/master@{#371204}
Diffstat (limited to 'sync')
-rw-r--r-- | sync/internal_api/attachments/attachment_downloader_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/internal_api/attachments/attachment_downloader_impl.cc b/sync/internal_api/attachments/attachment_downloader_impl.cc index 0bdcbc3..295470ec 100644 --- a/sync/internal_api/attachments/attachment_downloader_impl.cc +++ b/sync/internal_api/attachments/attachment_downloader_impl.cc @@ -256,7 +256,7 @@ bool AttachmentDownloaderImpl::ExtractCrc32c( std::string crc32c_encoded; std::string header_value; - void* iter = NULL; + size_t iter = 0; // Iterate over all matching headers. while (headers->EnumerateHeader(&iter, "x-goog-hash", &header_value)) { // Because EnumerateHeader is smart about list values, header_value will |