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

Unified Diff: content/browser/renderer_host/websocket_host.cc

Issue 1820233002: [WebSocket] Incoming close frame should not overtake data frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | net/websockets/websocket_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/websocket_host.cc
diff --git a/content/browser/renderer_host/websocket_host.cc b/content/browser/renderer_host/websocket_host.cc
index 685599d47fa1abf3f2d4f8baa41f17787ae92f02..1866b99fc36c803696d29a2307524e81aee21396 100644
--- a/content/browser/renderer_host/websocket_host.cc
+++ b/content/browser/renderer_host/websocket_host.cc
@@ -518,7 +518,7 @@ void WebSocketHost::OnFlowControl(int64_t quota) {
return;
}
- channel_->SendFlowControl(quota);
+ ignore_result(channel_->SendFlowControl(quota));
}
void WebSocketHost::OnDropChannel(bool was_clean,
@@ -540,7 +540,7 @@ void WebSocketHost::OnDropChannel(bool was_clean,
blob_sender_.reset();
// TODO(yhirano): Handle |was_clean| appropriately.
- channel_->StartClosingHandshake(code, reason);
+ ignore_result(channel_->StartClosingHandshake(code, reason));
}
void WebSocketHost::BlobSendComplete(int result) {
« no previous file with comments | « no previous file | net/websockets/websocket_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698