| Index: webkit/appcache/appcache_url_request_job.cc
|
| diff --git a/webkit/appcache/appcache_url_request_job.cc b/webkit/appcache/appcache_url_request_job.cc
|
| index 704e0ea7d6c1772322fc64a3d3e105d8c168f6aa..fc114b333842a4d25c6ade403fd0bb00e13c7275 100644
|
| --- a/webkit/appcache/appcache_url_request_job.cc
|
| +++ b/webkit/appcache/appcache_url_request_job.cc
|
| @@ -159,7 +159,7 @@ void AppCacheURLRequestJob::OnResponseInfoLoaded(
|
| }
|
|
|
| const net::HttpResponseInfo* AppCacheURLRequestJob::http_info() const {
|
| - if (!info_)
|
| + if (!info_.get())
|
| return NULL;
|
| if (range_response_info_)
|
| return range_response_info_.get();
|
| @@ -191,7 +191,7 @@ void AppCacheURLRequestJob::SetupRangeResponse() {
|
| const char kPartialStatusLine[] = "HTTP/1.1 206 Partial Content";
|
| range_response_info_.reset(
|
| new net::HttpResponseInfo(*info_->http_response_info()));
|
| - net::HttpResponseHeaders* headers = range_response_info_->headers;
|
| + net::HttpResponseHeaders* headers = range_response_info_->headers.get();
|
| headers->RemoveHeader(kLengthHeader);
|
| headers->RemoveHeader(kRangeHeader);
|
| headers->ReplaceStatusLine(kPartialStatusLine);
|
| @@ -248,7 +248,7 @@ net::LoadState AppCacheURLRequestJob::GetLoadState() const {
|
| return net::LOAD_STATE_WAITING_FOR_APPCACHE;
|
| if (delivery_type_ != APPCACHED_DELIVERY)
|
| return net::LOAD_STATE_IDLE;
|
| - if (!info_)
|
| + if (!info_.get())
|
| return net::LOAD_STATE_WAITING_FOR_APPCACHE;
|
| if (reader_.get() && reader_->IsReadPending())
|
| return net::LOAD_STATE_READING_RESPONSE;
|
|
|