Index: base/memory/memory_pressure_monitor_chromeos_unittest.cc |
diff --git a/base/memory/memory_pressure_monitor_chromeos_unittest.cc b/base/memory/memory_pressure_monitor_chromeos_unittest.cc |
index a82cef4b604a8518160a63de0e5f9395448b7f08..4333cd990e9f0d99bd721a19751d004b6a75122b 100644 |
--- a/base/memory/memory_pressure_monitor_chromeos_unittest.cc |
+++ b/base/memory/memory_pressure_monitor_chromeos_unittest.cc |
@@ -74,9 +74,9 @@ class TestMemoryPressureMonitor : public MemoryPressureMonitor { |
// for the correct behavior on event reposting as well as state updates. |
TEST(ChromeOSMemoryPressureMonitorTest, CheckMemoryPressure) { |
base::MessageLoopForUI message_loop; |
- scoped_ptr<TestMemoryPressureMonitor> monitor( |
+ std::unique_ptr<TestMemoryPressureMonitor> monitor( |
new TestMemoryPressureMonitor); |
- scoped_ptr<MemoryPressureListener> listener( |
+ std::unique_ptr<MemoryPressureListener> listener( |
new MemoryPressureListener(base::Bind(&OnMemoryPressure))); |
// Checking the memory pressure while 0% are used should not produce any |
// events. |