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

Unified Diff: remoting/host/desktop_session_win.cc

Issue 719353002: Remove implicit conversions from scoped_refptr to T* in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/desktop_session_win.cc
diff --git a/remoting/host/desktop_session_win.cc b/remoting/host/desktop_session_win.cc
index 8c958030ae142f8b230f7319250c351af79224ec..a57c7a4129f7050835b6a2fa9f52e93ee2c60346 100644
--- a/remoting/host/desktop_session_win.cc
+++ b/remoting/host/desktop_session_win.cc
@@ -256,10 +256,8 @@ bool RdpSession::Initialize(const ScreenResolution& resolution) {
new EventHandler(weak_factory_.GetWeakPtr()));
terminal_id_ = base::GenerateGUID();
base::win::ScopedBstr terminal_id(base::UTF8ToUTF16(terminal_id_).c_str());
- result = rdp_desktop_session_->Connect(host_size.width(),
- host_size.height(),
- terminal_id,
- event_handler);
+ result = rdp_desktop_session_->Connect(host_size.width(), host_size.height(),
+ terminal_id, event_handler.get());
if (FAILED(result)) {
LOG(ERROR) << "RdpSession::Create() failed, 0x"
<< std::hex << result << std::dec << ".";

Powered by Google App Engine
This is Rietveld 408576698