summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/url_request/url_request_http_job.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index add9ed1..9cc0209 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -1017,8 +1017,10 @@ void URLRequestHttpJob::OnStartCompleted(int result) {
return;
}
}
- LogChannelIDAndCookieStores(request_->url(), request_->context(),
- transaction_->GetResponseInfo()->ssl_info);
+ if (transaction_ && transaction_->GetResponseInfo()) {
+ LogChannelIDAndCookieStores(request_->url(), request_->context(),
+ transaction_->GetResponseInfo()->ssl_info);
+ }
SaveCookiesAndNotifyHeadersComplete(OK);
} else if (IsCertificateError(result)) {