Index: net/url_request/url_request_redirect_job.cc |
diff --git a/net/url_request/url_request_redirect_job.cc b/net/url_request/url_request_redirect_job.cc |
index 15ebdcdf1c098afbc165eba8a0cc9088f263e030..40df5aef5227f80005889c15d868dfc00e6f6102 100644 |
--- a/net/url_request/url_request_redirect_job.cc |
+++ b/net/url_request/url_request_redirect_job.cc |
@@ -36,7 +36,7 @@ URLRequestRedirectJob::URLRequestRedirectJob(URLRequest* request, |
void URLRequestRedirectJob::GetResponseInfo(HttpResponseInfo* info) { |
// Should only be called after the URLRequest has been notified there's header |
// information. |
- DCHECK(fake_headers_); |
+ DCHECK(fake_headers_.get()); |
// This assumes |info| is a freshly constructed HttpResponseInfo. |
info->headers = fake_headers_; |
@@ -72,7 +72,7 @@ bool URLRequestRedirectJob::CopyFragmentOnRedirect(const GURL& location) const { |
int URLRequestRedirectJob::GetResponseCode() const { |
// Should only be called after the URLRequest has been notified there's header |
// information. |
- DCHECK(fake_headers_); |
+ DCHECK(fake_headers_.get()); |
return response_code_; |
} |