| 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 f8e597bc6ecb54b399ba6a67b8065eef391da0e4..bf68daeb44c99cfd4542726314a9d6839d035667 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| @@ -91,6 +91,9 @@ bool CSPSource::portMatches(const KURL& url) const
|
| if (port == m_port)
|
| return true;
|
|
|
| + if (m_port == 80 && (port == 443 || (port == 0 && defaultPortForProtocol(url.protocol()) == 443)))
|
| + return true;
|
| +
|
| if (!port)
|
| return isDefaultPortForProtocol(m_port, url.protocol());
|
|
|
|
|