Index: net/url_request/url_request_http_job.cc |
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
index 098ef85e8310e678b4b6314ed9f22b208b6ae219..546afba668bff25b93d7465cb9ec3b3d4f8b7815 100644 |
--- a/net/url_request/url_request_http_job.cc |
+++ b/net/url_request/url_request_http_job.cc |
@@ -914,7 +914,6 @@ void URLRequestHttpJob::OnStartCompleted(int result) { |
NotifySSLCertificateError(info, true); |
} else { |
// Maybe overridable, maybe not. Ask the delegate to decide. |
- const URLRequestContext* context = request_->context(); |
scottmg
2015/02/20 05:14:10
i'm assuming here that request_ won't return a dif
eroman
2015/02/20 07:36:45
Yes that is a safe assumption.
|
TransportSecurityState* state = context->transport_security_state(); |
const bool fatal = |
state && state->ShouldSSLErrorsBeFatal(request_info_.url.host()); |