Index: net/http/disk_cache_based_quic_server_info.cc |
diff --git a/net/http/disk_cache_based_quic_server_info.cc b/net/http/disk_cache_based_quic_server_info.cc |
index 4cf036de3ba8f70e779b82f714a8486d82ee3671..7b400ac7dd1e2280d69111a86f479335155af375 100644 |
--- a/net/http/disk_cache_based_quic_server_info.cc |
+++ b/net/http/disk_cache_based_quic_server_info.cc |
@@ -47,19 +47,19 @@ DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo( |
const QuicServerId& server_id, |
HttpCache* http_cache) |
: QuicServerInfo(server_id), |
- weak_factory_(this), |
data_shim_(new CacheOperationDataShim()), |
- io_callback_( |
- base::Bind(&DiskCacheBasedQuicServerInfo::OnIOComplete, |
- weak_factory_.GetWeakPtr(), |
- base::Owned(data_shim_))), // Ownership assigned. |
state_(GET_BACKEND), |
ready_(false), |
found_entry_(false), |
server_id_(server_id), |
http_cache_(http_cache), |
backend_(NULL), |
- entry_(NULL) { |
+ entry_(NULL), |
+ weak_factory_(this) { |
+ io_callback_ = |
+ base::Bind(&DiskCacheBasedQuicServerInfo::OnIOComplete, |
+ weak_factory_.GetWeakPtr(), |
+ base::Owned(data_shim_)); // Ownership assigned. |
} |
void DiskCacheBasedQuicServerInfo::Start() { |