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

Unified Diff: net/url_request/url_request.cc

Issue 10537056: Replaced static URLRequestFtpJob factory with non-static protocol handler for FTP jobs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed job factories in off_the_record Created 8 years, 6 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.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 915cd58de5c2610393fd0052d5b0cd95e541884d..51c627a40cb361bb9ce17416309a3af361eec1d5 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -411,7 +411,7 @@ void URLRequest::Start() {
response_info_.request_time = Time::Now();
// Only notify the delegate for the initial request.
- if (context_ && context_->network_delegate()) {
+ if (context_->network_delegate()) {
int error = context_->network_delegate()->NotifyBeforeURLRequest(
this, before_request_callback_, &delegate_redirect_url_);
if (error == net::ERR_IO_PENDING) {

Powered by Google App Engine
This is Rietveld 408576698