Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: components/memory_pressure/memory_pressure_monitor_unittest.cc

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/memory_pressure/memory_pressure_monitor_unittest.cc
diff --git a/components/memory_pressure/memory_pressure_monitor_unittest.cc b/components/memory_pressure/memory_pressure_monitor_unittest.cc
index b482af4bd75c5c0ff6d5aeded254ac2bf0f0b8e3..429bdd08786c58e1d4622fc21747bc34f2a1698e 100644
--- a/components/memory_pressure/memory_pressure_monitor_unittest.cc
+++ b/components/memory_pressure/memory_pressure_monitor_unittest.cc
@@ -4,6 +4,8 @@
#include "components/memory_pressure/memory_pressure_monitor.h"
+#include <memory>
+
#include "base/bind.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/tracked_objects.h"
@@ -215,7 +217,7 @@ class MemoryPressureMonitorTest : public testing::Test {
#endif
MockDispatch mock_dispatch_;
- scoped_ptr<TestMemoryPressureMonitor> monitor_;
+ std::unique_ptr<TestMemoryPressureMonitor> monitor_;
};
TEST_F(MemoryPressureMonitorTest, NormalScheduling) {

Powered by Google App Engine
This is Rietveld 408576698