summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/serviceworkers/Request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/modules/serviceworkers/Request.cpp')
-rw-r--r--third_party/WebKit/Source/modules/serviceworkers/Request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/modules/serviceworkers/Request.cpp b/third_party/WebKit/Source/modules/serviceworkers/Request.cpp
index 04320a4..1e9d1a5 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/Request.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/Request.cpp
@@ -328,7 +328,7 @@ void Request::populateWebServiceWorkerRequest(WebServiceWorkerRequest& webReques
{
webRequest.setMethod(method());
webRequest.setURL(m_request->url());
- m_headers->forEach(adoptPtrWillBeNoop(new FillWebRequestHeaders(&webRequest)));
+ m_headers->forEach(new FillWebRequestHeaders(&webRequest));
webRequest.setReferrer(m_request->referrer().referrer().referrer, static_cast<WebReferrerPolicy>(m_request->referrer().referrer().referrerPolicy));
// FIXME: How can we set isReload properly? What is the correct place to load it in to the Request object? We should investigate the right way
// to plumb this information in to here.