summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.cc')
-rw-r--r--net/url_request/url_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 915cd58..51c627a 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) {