Index: Source/modules/websockets/MainThreadWebSocketChannel.cpp |
diff --git a/Source/modules/websockets/MainThreadWebSocketChannel.cpp b/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
index ba388d054fddf47b3c45b957f5c2a9c4ccf61e3f..b2f9e43e41eb61b36b68cfc865a5153090fa9a1c 100644 |
--- a/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
+++ b/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
@@ -102,8 +102,7 @@ void MainThreadWebSocketChannel::connect(const KURL& url, const String& protocol |
ASSERT(!m_suspended); |
m_handshake = adoptPtr(new WebSocketHandshake(url, protocol, m_document)); |
m_handshake->reset(); |
- if (m_deflateFramer.canDeflate()) |
- m_handshake->addExtensionProcessor(m_deflateFramer.createExtensionProcessor()); |
+ m_handshake->addExtensionProcessor(m_deflateFramer.createExtensionProcessor()); |
if (m_identifier) |
InspectorInstrumentation::didCreateWebSocket(m_document, m_identifier, url, m_document->url(), protocol); |
ref(); |