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

Unified Diff: ios/chrome/browser/snapshots/lru_cache.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: 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;
« no previous file with comments | « ios/chrome/browser/signin/signin_manager_factory.cc ('k') | ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698