Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 644fd76b0ff6405def02008a4b389b14819acde0..9825110f711b163952392bc0d5c36b8d7de3f27d 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -1312,7 +1312,8 @@ ProfileIOData::CreateHttpNetworkSession( |
net::HttpNetworkSession::Context session_context; |
net::URLRequestContextBuilder::SetHttpNetworkSessionComponents( |
context, &session_context); |
- if (!IsOffTheRecord() && io_thread->globals()->network_quality_estimator) { |
+ DCHECK(io_thread->globals()->network_quality_estimator); |
mmenke
2017/06/07 21:31:25
Does this DCHECK get us anything?
tbansal1
2017/06/08 05:01:49
Done.
|
+ if (!IsOffTheRecord()) { |
session_context.socket_performance_watcher_factory = |
io_thread->globals() |
->network_quality_estimator->GetSocketPerformanceWatcherFactory(); |