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

Unified Diff: remoting/host/ipc_desktop_environment_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/host_port_allocator.cc ('k') | remoting/host/ipc_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_desktop_environment_unittest.cc
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc
index e2138d298cf83a5b03ce527172a5e58f14be2a6b..815c9f9cc2660b9d172525a176e715342c3ebc7c 100644
--- a/remoting/host/ipc_desktop_environment_unittest.cc
+++ b/remoting/host/ipc_desktop_environment_unittest.cc
@@ -355,16 +355,16 @@ void IpcDesktopEnvironmentTest::ReflectClipboardEvent(
}
void IpcDesktopEnvironmentTest::CreateDesktopProcess() {
- EXPECT_TRUE(task_runner_);
- EXPECT_TRUE(io_task_runner_);
+ EXPECT_TRUE(task_runner_.get());
+ EXPECT_TRUE(io_task_runner_.get());
// Create the daemon end of the daemon-to-desktop channel.
desktop_channel_name_ = IPC::Channel::GenerateUniqueRandomChannelID();
- desktop_channel_.reset(new IPC::ChannelProxy(
- IPC::ChannelHandle(desktop_channel_name_),
- IPC::Channel::MODE_SERVER,
- &desktop_listener_,
- io_task_runner_));
+ desktop_channel_.reset(
+ new IPC::ChannelProxy(IPC::ChannelHandle(desktop_channel_name_),
+ IPC::Channel::MODE_SERVER,
+ &desktop_listener_,
+ io_task_runner_.get()));
// Create and start the desktop process.
desktop_process_.reset(new DesktopProcess(task_runner_,
« no previous file with comments | « remoting/host/host_port_allocator.cc ('k') | remoting/host/ipc_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698