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

Unified Diff: third_party/WebKit/Source/modules/fetch/RequestTest.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/RequestTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/RequestTest.cpp b/third_party/WebKit/Source/modules/fetch/RequestTest.cpp
index c537c1deee57621014749c13482b49fa2362f5ec..dc4fc9497b98a3c9d2a138405491dd745523acb1 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/RequestTest.cpp
@@ -99,7 +99,7 @@ TEST(ServiceWorkerRequestTest, FromAndToWebRequest) {
EXPECT_EQ(method, String(secondWebRequest.method()));
EXPECT_EQ(context, secondWebRequest.requestContext());
EXPECT_EQ(referrer, KURL(secondWebRequest.referrerUrl()));
- EXPECT_EQ(WebReferrerPolicyAlways, secondWebRequest.referrerPolicy());
+ EXPECT_EQ(WebReferrerPolicyAlways, secondWebRequest.getReferrerPolicy());
EXPECT_EQ(webRequest.headers(), secondWebRequest.headers());
EXPECT_EQ(WebURLRequest::FetchRequestModeNoCORS, secondWebRequest.mode());
}
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.idl ('k') | third_party/WebKit/Source/platform/exported/WebPrerender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698