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

Unified Diff: mojo/services/network/public/cpp/web_socket_write_queue.cc

Issue 1358163006: Adds some code to help isolate where crash is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 5 years, 3 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
Index: mojo/services/network/public/cpp/web_socket_write_queue.cc
diff --git a/mojo/services/network/public/cpp/web_socket_write_queue.cc b/mojo/services/network/public/cpp/web_socket_write_queue.cc
index 9a0079c4609278f6b3290084ee120321477718cf..f3485d5181956a200a20f58ffb9fc47a64e14975 100644
--- a/mojo/services/network/public/cpp/web_socket_write_queue.cc
+++ b/mojo/services/network/public/cpp/web_socket_write_queue.cc
@@ -20,8 +20,10 @@ struct WebSocketWriteQueue::Operation {
};
WebSocketWriteQueue::WebSocketWriteQueue(DataPipeProducerHandle handle)
- : handle_(handle), is_busy_(false), weak_factory_(this) {
-}
+ : handle_(handle),
+ handle_watcher_(8),
+ is_busy_(false),
+ weak_factory_(this) {}
WebSocketWriteQueue::~WebSocketWriteQueue() {
}
« no previous file with comments | « mojo/services/network/public/cpp/web_socket_read_queue.cc ('k') | mojo/services/network/tcp_connected_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698