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

Unified Diff: remoting/host/win/rdp_client_window.h

Issue 410853002: Fix member pointer callbacks in an ATL sink map (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_client_window.h
diff --git a/remoting/host/win/rdp_client_window.h b/remoting/host/win/rdp_client_window.h
index 7699e57a0f0947e30fa1ad1b5a3179a84a927298..012dca95d5a129c4b09669c3a8c134920c7bdcf5 100644
--- a/remoting/host/win/rdp_client_window.h
+++ b/remoting/host/win/rdp_client_window.h
@@ -104,14 +104,18 @@ class RdpClientWindow
void OnDestroy();
BEGIN_SINK_MAP(RdpClientWindow)
- SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 2, OnConnected)
- SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 4, OnDisconnected)
- SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 10, OnFatalError)
- SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 15, OnConfirmClose)
+ SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 2,
+ &RdpClientWindow::OnConnected)
+ SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 4,
+ &RdpClientWindow::OnDisconnected)
+ SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 10,
+ &RdpClientWindow::OnFatalError)
+ SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 15,
+ &RdpClientWindow::OnConfirmClose)
SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 18,
- OnAuthenticationWarningDisplayed)
+ &RdpClientWindow::OnAuthenticationWarningDisplayed)
SINK_ENTRY_EX(1, __uuidof(mstsc::IMsTscAxEvents), 19,
- OnAuthenticationWarningDismissed)
+ &RdpClientWindow::OnAuthenticationWarningDismissed)
END_SINK_MAP()
// mstsc::IMsTscAxEvents notifications.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698