| Index: net/log/write_to_file_net_log_observer.cc
|
| diff --git a/net/log/write_to_file_net_log_observer.cc b/net/log/write_to_file_net_log_observer.cc
|
| index 5470ebbcd44d2d880fe9b1a4d8c387ea5db9f7f2..8b0350ce48f7e74b38e4bd0217ce4d89d2043f1b 100644
|
| --- a/net/log/write_to_file_net_log_observer.cc
|
| +++ b/net/log/write_to_file_net_log_observer.cc
|
| @@ -57,7 +57,7 @@ void WriteToFileNetLogObserver::StartObserving(
|
|
|
| // Add events for in progress requests if a context is given.
|
| if (url_request_context) {
|
| - DCHECK(url_request_context->CalledOnValidThread());
|
| + url_request_context->AssertCalledOnValidSequence();
|
|
|
| std::set<URLRequestContext*> contexts;
|
| contexts.insert(url_request_context);
|
| @@ -76,7 +76,7 @@ void WriteToFileNetLogObserver::StopObserving(
|
|
|
| // Write state of the URLRequestContext when logging stopped.
|
| if (url_request_context) {
|
| - DCHECK(url_request_context->CalledOnValidThread());
|
| + url_request_context->AssertCalledOnValidSequence();
|
|
|
| std::string json;
|
| base::JSONWriter::Write(
|
|
|