Index: remoting/host/ipc_host_event_logger.cc |
diff --git a/remoting/host/ipc_host_event_logger.cc b/remoting/host/ipc_host_event_logger.cc |
index d0e9679f5e63ef9df2a5493ede682f939b493faa..f012d410a9d83bab4d986d4836ffd81dafa9a430 100644 |
--- a/remoting/host/ipc_host_event_logger.cc |
+++ b/remoting/host/ipc_host_event_logger.cc |
@@ -23,7 +23,7 @@ IpcHostEventLogger::IpcHostEventLogger(base::WeakPtr<HostStatusMonitor> monitor, |
IpcHostEventLogger::~IpcHostEventLogger() { |
DCHECK(CalledOnValidThread()); |
- if (monitor_) |
+ if (monitor_.get()) |
monitor_->RemoveStatusObserver(this); |
} |