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

Unified Diff: net/url_request/url_request.h

Issue 11189146: Eliminate implicit conversion from scoped_refptr<T> to T* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « ipc/ipc_sync_channel.h ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 1d2c5a28df930201a2c62ef10f40210fade434ad..e87d817352574c9951801d789d435143ed352dbc 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -608,7 +608,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
// This method is intended only for unit tests, but it is being used by
// unit tests outside of net :(.
- URLRequestJob* job() { return job_; }
+ URLRequestJob* job() { return job_.get(); }
protected:
// Allow the URLRequestJob class to control the is_pending() flag.
« no previous file with comments | « ipc/ipc_sync_channel.h ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698