| Index: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| index 4bcf08becbb71b9600024e3f42871149fbc8fff9..fd53aef9a5988acd752118b16387f29928d74c19 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| @@ -365,10 +365,7 @@ void Peer::didError()
|
| void Peer::contextDestroyed()
|
| {
|
| DCHECK(isMainThread());
|
| - if (m_mainWebSocketChannel) {
|
| - m_mainWebSocketChannel->disconnect();
|
| - m_mainWebSocketChannel = nullptr;
|
| - }
|
| + disconnect();
|
| m_bridge = nullptr;
|
| }
|
|
|
|
|