| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index d38cf0b4f690c7715e97f87253e29231e2423045..dbf4986aaff0e8d7016e0240eb0496e393e549bd 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -801,8 +801,12 @@ void NetworkQualityEstimator::RecordCorrelationMetric(
|
|
|
| LoadTimingInfo load_timing_info;
|
| request.GetLoadTimingInfo(&load_timing_info);
|
| - DCHECK(!load_timing_info.send_start.is_null() &&
|
| - !load_timing_info.receive_headers_end.is_null());
|
| + // If the load timing info is unavailable, it probably means that the request
|
| + // did not go over the network.
|
| + if (load_timing_info.send_start.is_null() ||
|
| + load_timing_info.receive_headers_end.is_null()) {
|
| + return;
|
| + }
|
|
|
| // Record UMA only for successful requests that have completed.
|
| if (!request.status().is_success() || request.status().is_io_pending())
|
|
|