Index: components/memory_pressure/memory_pressure_monitor.h |
diff --git a/components/memory_pressure/memory_pressure_monitor.h b/components/memory_pressure/memory_pressure_monitor.h |
index 27d3c5fe57d99e4954c73742d6cec2cb442fd8f8..68ad09cc0ee7e5a2c7ba5f7591384edb9892cc4e 100644 |
--- a/components/memory_pressure/memory_pressure_monitor.h |
+++ b/components/memory_pressure/memory_pressure_monitor.h |
@@ -29,9 +29,9 @@ |
#define COMPONENTS_MEMORY_PRESSURE_MEMORY_PRESSURE_MONITOR_H_ |
#include <map> |
+#include <memory> |
#include "base/callback.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "base/synchronization/lock.h" |
#include "base/time/time.h" |
@@ -176,7 +176,7 @@ class MemoryPressureMonitor { |
// notifications to OnMemoryPressureChanged, and setting the initial pressure |
// value. The OS specific implementation is responsible for allocating this |
// object. |
- scoped_ptr<MemoryPressureMonitorImpl> monitor_impl_; |
+ std::unique_ptr<MemoryPressureMonitorImpl> monitor_impl_; |
#endif |
// Object state. |