| 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)))
|
|
|