Index: remoting/host/host_event_logger_posix.cc |
diff --git a/remoting/host/host_event_logger_posix.cc b/remoting/host/host_event_logger_posix.cc |
index 6cd74126f4423271cdd97554eae6d0e058233195..932a583a7e10e668a0c489b46190b774ea338714 100644 |
--- a/remoting/host/host_event_logger_posix.cc |
+++ b/remoting/host/host_event_logger_posix.cc |
@@ -61,7 +61,7 @@ HostEventLoggerPosix::HostEventLoggerPosix( |
} |
HostEventLoggerPosix::~HostEventLoggerPosix() { |
- if (monitor_) |
+ if (monitor_.get()) |
monitor_->RemoveStatusObserver(this); |
closelog(); |
} |