Index: content/test/net/url_request_abort_on_end_job.cc |
diff --git a/content/test/net/url_request_abort_on_end_job.cc b/content/test/net/url_request_abort_on_end_job.cc |
index 21738879ba817d4e35e71266180cd0dbed91d5e5..4395c7e7c86dd2b594dc1fb045d4f6ed608b6271 100644 |
--- a/content/test/net/url_request_abort_on_end_job.cc |
+++ b/content/test/net/url_request_abort_on_end_job.cc |
@@ -83,7 +83,7 @@ void URLRequestAbortOnEndJob::GetResponseInfo(net::HttpResponseInfo* info) { |
bool URLRequestAbortOnEndJob::GetMimeType(std::string* mime_type) const { |
net::HttpResponseInfo info; |
GetResponseInfoConst(&info); |
- return info.headers && info.headers->GetMimeType(mime_type); |
+ return info.headers.get() && info.headers->GetMimeType(mime_type); |
} |
void URLRequestAbortOnEndJob::StartAsync() { |