Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: net/url_request/url_request_http_job.cc

Issue 937393002: win vs2015: fix shadowing warnings in net/url_request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698