Index: remoting/host/log_to_server.cc |
diff --git a/remoting/host/log_to_server.cc b/remoting/host/log_to_server.cc |
index ce2aa64aa08daa9a2beeec32460d020194dc932a..933b1a57ec9128fcdb1b04df9891c3307d9158a7 100644 |
--- a/remoting/host/log_to_server.cc |
+++ b/remoting/host/log_to_server.cc |
@@ -34,7 +34,7 @@ LogToServer::LogToServer(base::WeakPtr<HostStatusMonitor> monitor, |
LogToServer::~LogToServer() { |
signal_strategy_->RemoveListener(this); |
- if (monitor_) |
+ if (monitor_.get()) |
monitor_->RemoveStatusObserver(this); |
} |