Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider_unittest.cc ('k') | webkit/plugins/npapi/plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider_unittest.cc ('k') | webkit/plugins/npapi/plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698