Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp

Issue 2326153003: Rename referrerPolicy() methods to getReferrerPolicy(). (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
index 1385942196b322e75c6187f512492209468af444..50a98543221e8fc2b94ff4e36198239508f9b547 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
@@ -40,7 +40,7 @@ FetchRequestData* FetchRequestData::create(
request->setContext(webRequest.requestContext());
request->setReferrer(
Referrer(webRequest.referrerUrl().string(),
- static_cast<ReferrerPolicy>(webRequest.referrerPolicy())));
+ static_cast<ReferrerPolicy>(webRequest.getReferrerPolicy())));
request->setMode(webRequest.mode());
request->setCredentials(webRequest.credentialsMode());
request->setRedirect(webRequest.redirectMode());
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerScriptLoader.h ('k') | third_party/WebKit/Source/modules/fetch/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698