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

Unified Diff: remoting/host/desktop_process_unittest.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « remoting/host/desktop_process.cc ('k') | remoting/host/desktop_session_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index 558c18c78b86c0c232783196eb4952cd0c097341..6a7623c23816b2b156f83992fd945f2c524af64e 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -176,11 +176,10 @@ void DesktopProcessTest::ConnectNetworkChannel(
IPC::ChannelHandle channel_handle(desktop_process);
#endif // defined(OS_WIN)
- network_channel_.reset(new IPC::ChannelProxy(
- channel_handle,
- IPC::Channel::MODE_CLIENT,
- &network_listener_,
- io_task_runner_));
+ network_channel_.reset(new IPC::ChannelProxy(channel_handle,
+ IPC::Channel::MODE_CLIENT,
+ &network_listener_,
+ io_task_runner_.get()));
}
void DesktopProcessTest::OnDesktopAttached(
@@ -248,11 +247,10 @@ void DesktopProcessTest::RunDesktopProcess() {
"IPC thread", ui_task_runner, base::MessageLoop::TYPE_IO);
std::string channel_name = IPC::Channel::GenerateUniqueRandomChannelID();
- daemon_channel_.reset(new IPC::ChannelProxy(
- IPC::ChannelHandle(channel_name),
- IPC::Channel::MODE_SERVER,
- &daemon_listener_,
- io_task_runner_));
+ daemon_channel_.reset(new IPC::ChannelProxy(IPC::ChannelHandle(channel_name),
+ IPC::Channel::MODE_SERVER,
+ &daemon_listener_,
+ io_task_runner_.get()));
scoped_ptr<MockDesktopEnvironmentFactory> desktop_environment_factory(
new MockDesktopEnvironmentFactory());
« no previous file with comments | « remoting/host/desktop_process.cc ('k') | remoting/host/desktop_session_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698