| Index: third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
|
| diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
|
| index d39635c9b0d7de2f3e1efba5ad26200d5073e2fb..5e7da6514f8b37b0628eab2c1496f67c2eba50d5 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
|
| +++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
|
| @@ -282,7 +282,7 @@ void DOMWebSocket::connect(const String& url, const Vector<String>& protocols, E
|
| WTF_LOG(Network, "WebSocket %p connect() url='%s'", this, url.utf8().data());
|
| m_url = KURL(KURL(), url);
|
|
|
| - if (executionContext()->securityContext().insecureRequestsPolicy() == SecurityContext::InsecureRequestsUpgrade && m_url.protocol() == "ws") {
|
| + if (executionContext()->securityContext().getInsecureRequestsPolicy() == SecurityContext::InsecureRequestsUpgrade && m_url.protocol() == "ws") {
|
| UseCounter::count(executionContext(), UseCounter::UpgradeInsecureRequestsUpgradedRequest);
|
| m_url.setProtocol("wss");
|
| if (m_url.port() == 80)
|
|
|