| Index: net/log/net_log_util.cc
|
| diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
|
| index cc426455ccabc464e27c6d85e8f955e2910134b8..411c010e28e7278fdfcc3d9ae2170dee1ac31334 100644
|
| --- a/net/log/net_log_util.cc
|
| +++ b/net/log/net_log_util.cc
|
| @@ -325,7 +325,7 @@ NET_EXPORT std::unique_ptr<base::DictionaryValue> GetNetInfo(
|
| URLRequestContext* context,
|
| int info_sources) {
|
| // May only be called on the context's thread.
|
| - DCHECK(context->CalledOnValidThread());
|
| + context->AssertCalledOnValidThread();
|
|
|
| std::unique_ptr<base::DictionaryValue> net_info_dict(
|
| new base::DictionaryValue());
|
| @@ -482,7 +482,7 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects(
|
| std::vector<const URLRequest*> requests;
|
| for (auto* context : contexts) {
|
| // May only be called on the context's thread.
|
| - DCHECK(context->CalledOnValidThread());
|
| + context->AssertCalledOnValidThread();
|
| // Contexts should all be using the same NetLog.
|
| DCHECK_EQ((*contexts.begin())->net_log(), context->net_log());
|
| for (auto* request : context->url_requests()) {
|
|
|