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

Unified Diff: base/memory/memory_pressure_listener_unittest.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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: base/memory/memory_pressure_listener_unittest.cc
diff --git a/base/memory/memory_pressure_listener_unittest.cc b/base/memory/memory_pressure_listener_unittest.cc
index 38d429d31560c5d8ba29c31d5d6df1c5bb3514fb..acff1fd925c16fc2e72a71b38cefc45ac809a2f9 100644
--- a/base/memory/memory_pressure_listener_unittest.cc
+++ b/base/memory/memory_pressure_listener_unittest.cc
@@ -46,8 +46,8 @@ class MemoryPressureListenerTest : public testing::Test {
MOCK_METHOD1(OnMemoryPressure,
void(MemoryPressureListener::MemoryPressureLevel));
- scoped_ptr<MessageLoopForUI> message_loop_;
- scoped_ptr<MemoryPressureListener> listener_;
+ std::unique_ptr<MessageLoopForUI> message_loop_;
+ std::unique_ptr<MemoryPressureListener> listener_;
};
TEST_F(MemoryPressureListenerTest, NotifyMemoryPressure) {
« no previous file with comments | « base/memory/discardable_memory_allocator.h ('k') | base/memory/memory_pressure_monitor_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698