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

Unified Diff: remoting/host/cast_extension.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/cast_extension.cc
diff --git a/remoting/host/cast_extension.cc b/remoting/host/cast_extension.cc
index 3a8f3b81eac3471ad2cc02856818ecacbe077795..6b513f6c04e43d32e58e56eeaa824c09d7c75489 100644
--- a/remoting/host/cast_extension.cc
+++ b/remoting/host/cast_extension.cc
@@ -35,8 +35,7 @@ scoped_ptr<HostExtensionSession> CastExtension::CreateExtensionSession(
url_request_context_getter_,
network_settings_,
client_session_control,
- client_stub)
- .PassAs<HostExtensionSession>();
+ client_stub).Pass();
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698