| 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 00311d6ee9899ad2ea883724a8c693f8159274c2..d23e194e500c801ac2adb085c1a82d6d431828b2 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| @@ -129,9 +129,8 @@ 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")
|
| - : DeprecatedEqualIgnoringCase("http", scheme_);
|
| + is_scheme_http = scheme_.IsEmpty() ? policy_->ProtocolEqualsSelf("http")
|
| + : EqualIgnoringASCIICase("http", scheme_);
|
|
|
| if ((port_ == 80 || (port_ == 0 && is_scheme_http)) &&
|
| (port == 443 || (port == 0 && DefaultPortForProtocol(protocol) == 443)))
|
|
|