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

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/thunk/ppb_file_chooser_thunk.cc ('k') | remoting/host/desktop_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index cf7aa2493e0328ff0c7113745f4fcf51b4744845..2ae2a05308973badc01c641ada9f1d60dc0f2fcd 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -162,7 +162,8 @@ class ChromotingHostTest : public testing::Test {
scoped_ptr<LocalInputMonitor>(local_input_monitor_));
it2me_host_user_interface_->Start(
- host_, base::Bind(&ChromotingHost::Shutdown, host_, base::Closure()));
+ host_.get(),
+ base::Bind(&ChromotingHost::Shutdown, host_, base::Closure()));
xmpp_login_ = "host@domain";
session1_ = new MockSession();
@@ -257,7 +258,7 @@ class ChromotingHostTest : public testing::Test {
connection.Pass(),
desktop_environment_factory_.get(),
base::TimeDelta());
- connection_ptr->set_host_stub(client);
+ connection_ptr->set_host_stub(client.get());
connection_ptr->set_input_stub(
client->desktop_environment()->event_executor());
@@ -282,7 +283,7 @@ class ChromotingHostTest : public testing::Test {
protocol::AUTHENTICATION_FAILED));
}
- get_client(connection_index) = client;
+ get_client(connection_index) = client.get();
}
virtual void TearDown() OVERRIDE {
« no previous file with comments | « ppapi/thunk/ppb_file_chooser_thunk.cc ('k') | remoting/host/desktop_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698