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

Unified Diff: base/memory/memory_pressure_monitor_mac.h

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
« no previous file with comments | « base/memory/memory_pressure_monitor_chromeos_unittest.cc ('k') | base/memory/scoped_vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/memory_pressure_monitor_mac.h
diff --git a/base/memory/memory_pressure_monitor_mac.h b/base/memory/memory_pressure_monitor_mac.h
index 7604656b7feb661e6f6747ee699dbc4555e40e1e..4e92204bc9017dda8474a5f0f0d171c33718037b 100644
--- a/base/memory/memory_pressure_monitor_mac.h
+++ b/base/memory/memory_pressure_monitor_mac.h
@@ -52,7 +52,7 @@ class BASE_EXPORT MemoryPressureMonitor : public base::MemoryPressureMonitor {
MemoryPressureLevelForMacMemoryPressure(int mac_memory_pressure);
static void NotifyMemoryPressureChanged(dispatch_source_s* event_source);
- scoped_ptr<dispatch_source_s, DispatchSourceSDeleter>
+ std::unique_ptr<dispatch_source_s, DispatchSourceSDeleter>
memory_level_event_source_;
DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);
« no previous file with comments | « base/memory/memory_pressure_monitor_chromeos_unittest.cc ('k') | base/memory/scoped_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698