summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp b/chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp
index fa98ffbea1e..4937637752a 100644
--- a/chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp
+++ b/chromium/third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp
@@ -108,7 +108,7 @@ bool WebSocketDeflater::finish()
// Since consecutive calls of deflate with Z_SYNC_FLUSH and no input lead to an error,
// we create and return the output for the empty input manually.
ASSERT(!m_buffer.size());
- m_buffer.append("\x02\x00", 2);
+ m_buffer.append("\x00", 1);
return true;
}
while (true) {