| Index: webkit/glue/weburlloader_impl.cc
|
| diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
|
| index aed0318ecb2ba6057cbff5dcf0985e121a3c31ac..fd544ef452355528e2e6700208e079d6f0ccb08b 100644
|
| --- a/webkit/glue/weburlloader_impl.cc
|
| +++ b/webkit/glue/weburlloader_impl.cc
|
| @@ -226,7 +226,7 @@ void PopulateURLResponse(
|
| response->setHTTPLoadInfo(load_info);
|
| }
|
|
|
| - const net::HttpResponseHeaders* headers = info.headers;
|
| + const net::HttpResponseHeaders* headers = info.headers.get();
|
| if (!headers)
|
| return;
|
|
|
| @@ -488,7 +488,7 @@ void WebURLLoaderImpl::Context::Start(
|
| }
|
| }
|
| request_body->set_identifier(request.httpBody().identifier());
|
| - bridge_->SetRequestBody(request_body);
|
| + bridge_->SetRequestBody(request_body.get());
|
| }
|
|
|
| if (sync_load_response) {
|
| @@ -582,7 +582,7 @@ void WebURLLoaderImpl::Context::OnReceivedResponse(
|
|
|
| DCHECK(!ftp_listing_delegate_.get());
|
| DCHECK(!multipart_delegate_.get());
|
| - if (info.headers && info.mime_type == "multipart/x-mixed-replace") {
|
| + if (info.headers.get() && info.mime_type == "multipart/x-mixed-replace") {
|
| std::string content_type;
|
| info.headers->EnumerateHeader(NULL, "content-type", &content_type);
|
|
|
|
|