Index: remoting/host/security_key/security_key_ipc_client.cc |
diff --git a/remoting/host/security_key/security_key_ipc_client.cc b/remoting/host/security_key/security_key_ipc_client.cc |
index 3b6b4058374725d8bf890fc08ed00db54fadd4eb..c2df6e266017b01af364436c70ebb906216bd6ce 100644 |
--- a/remoting/host/security_key/security_key_ipc_client.cc |
+++ b/remoting/host/security_key/security_key_ipc_client.cc |
@@ -26,7 +26,9 @@ SecurityKeyIpcClient::SecurityKeyIpcClient() |
: named_channel_handle_(remoting::GetSecurityKeyIpcChannel()), |
weak_factory_(this) {} |
-SecurityKeyIpcClient::~SecurityKeyIpcClient() {} |
+SecurityKeyIpcClient::~SecurityKeyIpcClient() { |
+ DCHECK(thread_checker_.CalledOnValidThread()); |
+} |
bool SecurityKeyIpcClient::CheckForSecurityKeyIpcServerChannel() { |
DCHECK(thread_checker_.CalledOnValidThread()); |