Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index 286a526a3edb2fa39e7101e10429cf3c15b7920a..d0ee3dca4ba1d9b5ffbd56bd46d9ffd6c748651c 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -329,12 +329,13 @@ HttpCache::Transaction::Transaction( |
read_offset_(0), |
effective_load_flags_(0), |
write_len_(0), |
- weak_factory_(this), |
- io_callback_(base::Bind(&Transaction::OnIOComplete, |
- weak_factory_.GetWeakPtr())), |
transaction_pattern_(PATTERN_UNDEFINED), |
total_received_bytes_(0), |
- websocket_handshake_stream_base_create_helper_(NULL) { |
+ websocket_handshake_stream_base_create_helper_(NULL), |
+ weak_factory_(this) { |
+ |
Randy Smith (Not in Mondays)
2014/08/27 14:25:15
nit: I don't think there's any need for vertical w
|
+ io_callback_ = base::Bind(&Transaction::OnIOComplete, |
+ weak_factory_.GetWeakPtr()); |
COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders == |
arraysize(kValidationHeaders), |
Invalid_number_of_validation_headers); |
Randy Smith (Not in Mondays)
2014/08/27 14:25:15
I have a slight preference for high level asserts
|