| Index: Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
| diff --git a/Source/modules/websockets/NewWebSocketChannelImpl.cpp b/Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
| index a8afbd5e231569e43fe9fd3bbf891d72140705e8..60a2766ee8d81f430a05ab226571fe86060ebe95 100644
|
| --- a/Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
| +++ b/Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
| @@ -136,7 +136,7 @@ bool NewWebSocketChannelImpl::connect(const KURL& url, const String& protocol)
|
| return false;
|
|
|
| if (executionContext()->isDocument() && document()->frame()) {
|
| - if (MixedContentChecker::shouldBlockWebSocket(document()->frame(), url))
|
| + if (!document()->frame()->loader().mixedContentChecker()->canConnectInsecureWebSocket(document()->securityOrigin(), url))
|
| return false;
|
| }
|
| if (MixedContentChecker::isMixedContent(document()->securityOrigin(), url)) {
|
|
|