Index: third_party/WebKit/Source/modules/fetch/Request.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp |
index 46eea38c21112f0118111705f015f9d7e066487e..bfba03bd18bc8b616d510ce5d19ecd0190591802 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp |
@@ -704,8 +704,7 @@ void Request::PopulateWebServiceWorkerRequest( |
web_request.SetURL(url); |
const FetchHeaderList* header_list = headers_->HeaderList(); |
- for (size_t i = 0, size = header_list->size(); i < size; ++i) { |
- const FetchHeaderList::Header& header = header_list->Entry(i); |
+ for (const auto& header : header_list->List()) { |
web_request.AppendHeader(header.first, header.second); |
} |