Index: components/storage_monitor/storage_monitor_chromeos_unittest.cc |
diff --git a/components/storage_monitor/storage_monitor_chromeos_unittest.cc b/components/storage_monitor/storage_monitor_chromeos_unittest.cc |
index 053ef14df88876579925e8c3210ab33b4c582426..a34c9e89d37297581d39f449d509bea61a0d64d4 100644 |
--- a/components/storage_monitor/storage_monitor_chromeos_unittest.cc |
+++ b/components/storage_monitor/storage_monitor_chromeos_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "components/storage_monitor/storage_monitor_chromeos.h" |
#include <stdint.h> |
+#include <utility> |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
@@ -173,7 +174,7 @@ void StorageMonitorCrosTest::SetUp() { |
TestStorageMonitor::Destroy(); |
monitor_ = new TestStorageMonitorCros(); |
scoped_ptr<StorageMonitor> pass_monitor(monitor_); |
- StorageMonitor::SetStorageMonitorForTesting(pass_monitor.Pass()); |
+ StorageMonitor::SetStorageMonitorForTesting(std::move(pass_monitor)); |
monitor_->Init(); |
monitor_->AddObserver(mock_storage_observer_.get()); |