Chromium Code Reviews| Index: net/socket/client_socket_handle.cc |
| diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc |
| index 0dc7b39309cfedafb6f12b9a47d1e4c549403a08..f4e8ae5e13f0c307b2ec10d6f5861d7bbcc65bd3 100644 |
| --- a/net/socket/client_socket_handle.cc |
| +++ b/net/socket/client_socket_handle.cc |
| @@ -31,6 +31,11 @@ ClientSocketHandle::~ClientSocketHandle() { |
| Reset(); |
| } |
| +void ClientSocketHandle::SetPriority(RequestPriority priority) { |
| + if (pool_) |
|
mmenke
2016/05/09 18:41:03
When is this called without a pool?
Randy Smith (Not in Mondays)
2017/01/03 21:09:08
Well, as I read the code, HttpStreamFactoryImpl::J
mmenke
2017/01/03 21:28:22
You're right, but setting the priority of an "unin
Randy Smith (Not in Mondays)
2017/01/05 03:47:18
So I looked into this option in response to your c
|
| + pool_->SetPriority(group_name_, this, priority); |
|
mmenke
2017/01/03 21:28:22
Also, this is calling SetPriority even after this
Randy Smith (Not in Mondays)
2017/01/05 03:47:18
It's worse than doesn't seem right--it can produce
|
| +} |
| + |
| void ClientSocketHandle::Reset() { |
| ResetInternal(true); |
| ResetErrorState(); |