Index: content/browser/streams/stream_url_request_job.cc |
diff --git a/content/browser/streams/stream_url_request_job.cc b/content/browser/streams/stream_url_request_job.cc |
index da2e9ce7b203fe779466584571931bd5a546b6be..8f9460638f0428e6f2440e409d340861f52cfe27 100644 |
--- a/content/browser/streams/stream_url_request_job.cc |
+++ b/content/browser/streams/stream_url_request_job.cc |
@@ -117,7 +117,7 @@ bool StreamURLRequestJob::ReadRawData(net::IOBuffer* buf, |
} |
bool StreamURLRequestJob::GetMimeType(std::string* mime_type) const { |
- if (!response_info_.get()) |
+ if (!response_info_) |
return false; |
// TODO(zork): Support registered MIME types if needed. |
@@ -125,12 +125,12 @@ bool StreamURLRequestJob::GetMimeType(std::string* mime_type) const { |
} |
void StreamURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) { |
- if (response_info_.get()) |
+ if (response_info_) |
*info = *response_info_; |
} |
int StreamURLRequestJob::GetResponseCode() const { |
- if (!response_info_.get()) |
+ if (!response_info_) |
return -1; |
return response_info_->headers->response_code(); |