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

Unified Diff: remoting/host/client_session_unittest.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: remoting/host/client_session_unittest.cc
diff --git a/remoting/host/client_session_unittest.cc b/remoting/host/client_session_unittest.cc
index b3dfa45396606fc3f1f086191c026bf284bfe2dc..05e5a650a38c7a8196bcca156e3c133066269042 100644
--- a/remoting/host/client_session_unittest.cc
+++ b/remoting/host/client_session_unittest.cc
@@ -254,7 +254,7 @@ void ClientSessionTest::CreateClientSession() {
task_runner_, // Encode thread.
task_runner_, // Network thread.
task_runner_, // UI thread.
- connection.PassAs<protocol::ConnectionToClient>(),
+ connection.Pass(),
desktop_environment_factory_.get(),
base::TimeDelta(),
NULL,

Powered by Google App Engine
This is Rietveld 408576698