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

Unified Diff: remoting/client/client_context.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on 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 | « ppapi/proxy/ppapi_proxy_test.cc ('k') | remoting/host/chromoting_host_context_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/client_context.cc
diff --git a/remoting/client/client_context.cc b/remoting/client/client_context.cc
index fbb5a467d61f65cd0bea8344b0cdfaff3d83b9cc..92a2fdcf8cb67fd30328e06b4d3889c83cf88688 100644
--- a/remoting/client/client_context.cc
+++ b/remoting/client/client_context.cc
@@ -32,11 +32,11 @@ base::SingleThreadTaskRunner* ClientContext::main_task_runner() {
}
base::SingleThreadTaskRunner* ClientContext::decode_task_runner() {
- return decode_thread_.message_loop_proxy();
+ return decode_thread_.message_loop_proxy().get();
}
base::SingleThreadTaskRunner* ClientContext::audio_decode_task_runner() {
- return audio_decode_thread_.message_loop_proxy();
+ return audio_decode_thread_.message_loop_proxy().get();
}
} // namespace remoting
« no previous file with comments | « ppapi/proxy/ppapi_proxy_test.cc ('k') | remoting/host/chromoting_host_context_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698