| Index: Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
| ===================================================================
|
| --- Source/modules/websockets/NewWebSocketChannelImpl.cpp (revision 182628)
|
| +++ Source/modules/websockets/NewWebSocketChannelImpl.cpp (working copy)
|
| @@ -136,7 +136,7 @@
|
| 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)) {
|
|
|