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

Unified Diff: net/url_request/url_request.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp ('k') | ppapi/proxy/file_ref_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 9d30ef80ecf5d1890cfb3d462e399cee20385e79..3e3dbd1e2b7254f490d18c51d92a3e17ac9eefe7 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -373,7 +373,7 @@ void URLRequest::SetExtraRequestHeaders(
}
bool URLRequest::GetFullRequestHeaders(HttpRequestHeaders* headers) const {
- if (!job_)
+ if (!job_.get())
return false;
return job_->GetFullRequestHeaders(headers);
« no previous file with comments | « net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp ('k') | ppapi/proxy/file_ref_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698