Index: net/socket/ssl_client_socket_pool.h |
diff --git a/net/socket/ssl_client_socket_pool.h b/net/socket/ssl_client_socket_pool.h |
index 12680a843d8c9486caae87afc62862b55926038f..460501e07b6d759215ae90b738cecbe183818f31 100644 |
--- a/net/socket/ssl_client_socket_pool.h |
+++ b/net/socket/ssl_client_socket_pool.h |
@@ -171,7 +171,7 @@ class NET_EXPORT SSLConnectJobMessenger { |
for (std::vector<base::Closure>::iterator it = callbacks_.begin(); |
it != callbacks_.end(); |
it++) |
- it->Run(); |
+ base::MessageLoopForIO::current()->PostTask(FROM_HERE, *it); |
wtc
2014/07/08 17:37:03
1. IMPORTANT: this will make cancelling the callba
mshelley
2014/07/09 21:53:06
The callbacks that are being posted here are bound
|
} |
SSLClientSocket* GetFirstSocket() { |