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 67d10a4a24688eaa065f59e65e611ae4c11d3407..c9bfc3ca758768c0d5198ebf32259dbc87000733 100644 |
--- a/content/test/net/url_request_abort_on_end_job.cc |
+++ b/content/test/net/url_request_abort_on_end_job.cc |
@@ -76,7 +76,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() { |