Index: ios/chrome/browser/snapshots/lru_cache.mm |
diff --git a/ios/chrome/browser/snapshots/lru_cache.mm b/ios/chrome/browser/snapshots/lru_cache.mm |
index d9a35c63615eb962277d5fcf1a6e984670b20fb0..ffbf1dd2c4a5df0171f9032cacaba67684105892 100644 |
--- a/ios/chrome/browser/snapshots/lru_cache.mm |
+++ b/ios/chrome/browser/snapshots/lru_cache.mm |
@@ -6,11 +6,12 @@ |
#include <stddef.h> |
+#include <memory> |
+ |
#include "base/containers/hash_tables.h" |
#include "base/containers/mru_cache.h" |
#include "base/mac/scoped_nsobject.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
namespace { |
@@ -56,7 +57,7 @@ class NSObjectMRUCache |
} // namespace |
@implementation LRUCache { |
- scoped_ptr<NSObjectMRUCache> _cache; |
+ std::unique_ptr<NSObjectMRUCache> _cache; |
} |
@synthesize maxCacheSize = _maxCacheSize; |