Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1867)

Unified Diff: Source/modules/websockets/MainThreadWebSocketChannel.cpp

Issue 14247036: Remove USE(ZLIB) guard. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/websockets/WebSocketDeflateFramer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | Source/modules/websockets/WebSocketDeflateFramer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698