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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp

Issue 2392653002: reflow comments in platform/{transforms,weborigin} (Closed)
Patch Set: Created 4 years, 2 months 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
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
index f785de42fd485403fa199d7f450b4a1f2f17552d..ee60b12d53d92d8dbe4b922e3f740a015c5c41bf 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
@@ -165,8 +165,8 @@ Referrer SecurityPolicy::generateReferrer(ReferrerPolicy referrerPolicy,
break;
}
case ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin: {
- // If the flag is enabled, and we're dealing with a cross-origin request, strip it.
- // Otherwise fallthrough to NoReferrerWhenDowngrade behavior.
+ // If the flag is enabled, and we're dealing with a cross-origin request,
+ // strip it. Otherwise fall through to NoReferrerWhenDowngrade behavior.
RefPtr<SecurityOrigin> referrerOrigin =
SecurityOrigin::createFromString(referrer);
RefPtr<SecurityOrigin> urlOrigin = SecurityOrigin::create(url);
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698