Index: base/power_monitor/power_monitor_unittest.cc |
diff --git a/base/power_monitor/power_monitor_unittest.cc b/base/power_monitor/power_monitor_unittest.cc |
index 798a21c8c471dcf0966bfdfd4dfec3f8b3197b33..0c4e7cb9030422d3d53da38e7342caac59a5cc17 100644 |
--- a/base/power_monitor/power_monitor_unittest.cc |
+++ b/base/power_monitor/power_monitor_unittest.cc |
@@ -14,7 +14,7 @@ class PowerMonitorTest : public testing::Test { |
PowerMonitorTest() { |
power_monitor_source_ = new PowerMonitorTestSource(); |
power_monitor_.reset(new PowerMonitor( |
- scoped_ptr<PowerMonitorSource>(power_monitor_source_))); |
+ std::unique_ptr<PowerMonitorSource>(power_monitor_source_))); |
} |
~PowerMonitorTest() override{}; |
@@ -23,7 +23,7 @@ class PowerMonitorTest : public testing::Test { |
private: |
PowerMonitorTestSource* power_monitor_source_; |
- scoped_ptr<PowerMonitor> power_monitor_; |
+ std::unique_ptr<PowerMonitor> power_monitor_; |
DISALLOW_COPY_AND_ASSIGN(PowerMonitorTest); |
}; |