Index: remoting/host/linux/certificate_watcher_unittest.cc |
diff --git a/remoting/host/linux/certificate_watcher_unittest.cc b/remoting/host/linux/certificate_watcher_unittest.cc |
index bf08c3db2629c28e179292d9e3375a206aa8b6b8..97c3b2ae7f75af9bcd1b8d0a81dd90e64dad24d8 100644 |
--- a/remoting/host/linux/certificate_watcher_unittest.cc |
+++ b/remoting/host/linux/certificate_watcher_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "remoting/host/linux/certificate_watcher.h" |
#include <cstdlib> |
+#include <memory> |
#include <string> |
#include "base/bind.h" |
@@ -90,7 +91,7 @@ class CertificateWatcherTest : public testing::Test { |
scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
base::ScopedTempDir temp_dir_; |
base::FilePath watch_path_; |
- scoped_ptr<CertificateWatcher> watcher_; |
+ std::unique_ptr<CertificateWatcher> watcher_; |
int restart_count_ = 0; |
base::TimeDelta loop_wait_ = |
base::TimeDelta::FromMilliseconds(kMessageLoopWaitMsecs); |