Commit 04e05b5d authored by dcheng's avatar dcheng Committed by Commit bot

Manual fixups in remoting/ for scoped_refptr operator T* removal.

BUG=110610

Review URL: https://codereview.chromium.org/511313002

Cr-Commit-Position: refs/heads/master@{#292467}
parent 58cfacd2
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
namespace remoting { namespace remoting {
ClientContext::ClientContext(base::SingleThreadTaskRunner* main_task_runner) ClientContext::ClientContext(
const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner)
: main_task_runner_(main_task_runner), : main_task_runner_(main_task_runner),
decode_thread_("ChromotingClientDecodeThread"), decode_thread_("ChromotingClientDecodeThread"),
audio_decode_thread_("ChromotingClientAudioDecodeThread") { audio_decode_thread_("ChromotingClientAudioDecodeThread") {
......
...@@ -21,7 +21,8 @@ class ClientContext { ...@@ -21,7 +21,8 @@ class ClientContext {
public: public:
// |main_task_runner| is the task runner for the main plugin thread // |main_task_runner| is the task runner for the main plugin thread
// that is used for all PPAPI calls, e.g. network and graphics. // that is used for all PPAPI calls, e.g. network and graphics.
ClientContext(base::SingleThreadTaskRunner* main_task_runner); ClientContext(
const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner);
virtual ~ClientContext(); virtual ~ClientContext();
void Start(); void Start();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment