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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPSource.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
index 6e075efc86e9ece955272df2e2d7f15dca13e501..9bcd80a7a8baf69d56f6be15b75493f3a1ab5942 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
@@ -129,8 +129,9 @@ CSPSource::PortMatchingResult CSPSource::PortMatches(
}
bool is_scheme_http; // needed for detecting an upgrade when the port is 0
- is_scheme_http = scheme_.IsEmpty() ? policy_->ProtocolEqualsSelf("http")
- : EqualIgnoringCase("http", scheme_);
+ is_scheme_http = scheme_.IsEmpty()
+ ? policy_->ProtocolEqualsSelf("http")
+ : DeprecatedEqualIgnoringCase("http", scheme_);
if ((port_ == 80 || (port_ == 0 && is_scheme_http)) &&
(port == 443 || (port == 0 && DefaultPortForProtocol(protocol) == 443)))

Powered by Google App Engine
This is Rietveld 408576698