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

Unified Diff: net/dns/serial_worker.h

Issue 15829004: Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license twerk Created 7 years, 7 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/dns/mock_host_resolver.cc ('k') | net/ftp/ftp_network_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/serial_worker.h
diff --git a/net/dns/serial_worker.h b/net/dns/serial_worker.h
index 982286f7c6420c10102630c4c17decf8c976f7de..59a4d3f189ca1c8e2f2bb0b7ea6356aa36a21f32 100644
--- a/net/dns/serial_worker.h
+++ b/net/dns/serial_worker.h
@@ -61,9 +61,7 @@ class NET_EXPORT_PRIVATE SerialWorker
// Executed on origin thread after |DoRead| completes.
virtual void OnWorkFinished() = 0;
- base::MessageLoopProxy* loop() {
- return message_loop_;
- }
+ base::MessageLoopProxy* loop() { return message_loop_.get(); }
private:
enum State {
« no previous file with comments | « net/dns/mock_host_resolver.cc ('k') | net/ftp/ftp_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698