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 59ae714b7ae5feb1d636a736fb9511e05207c721..b9aa2703e6be8dbc7e4ab2cff8329985ef2b4c59 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp |
@@ -628,7 +628,7 @@ void Request::populateWebServiceWorkerRequest(WebServiceWorkerRequest& webReques |
webRequest.appendHeader(header.first, header.second); |
} |
- webRequest.setReferrer(m_request->referrerString(), static_cast<WebReferrerPolicy>(m_request->referrerPolicy())); |
+ webRequest.setReferrer(m_request->referrerString(), static_cast<WebReferrerPolicy>(m_request->getReferrerPolicy())); |
// 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. |
} |