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

Unified Diff: ios/chrome/browser/favicon/large_icon_cache.h

Issue 1763273002: base: Remove OwningMRUCache in favor of scoped_ptrs in MRUCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + fix Created 4 years, 9 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/favicon/large_icon_cache.h
diff --git a/ios/chrome/browser/favicon/large_icon_cache.h b/ios/chrome/browser/favicon/large_icon_cache.h
index 67abec9d7c796ed04964bd35f99505129bb34cb0..5d7d447225037e6a2a0b0f1ddea14ee29d975f06 100644
--- a/ios/chrome/browser/favicon/large_icon_cache.h
+++ b/ios/chrome/browser/favicon/large_icon_cache.h
@@ -47,7 +47,7 @@ class LargeIconCache : public KeyedService {
scoped_ptr<favicon_base::LargeIconResult> CloneLargeIconResult(
const favicon_base::LargeIconResult& large_icon_result);
- base::OwningMRUCache<GURL, LargeIconCacheEntry*> cache_;
+ base::MRUCache<GURL, scoped_ptr<LargeIconCacheEntry>> cache_;
DISALLOW_COPY_AND_ASSIGN(LargeIconCache);
};

Powered by Google App Engine
This is Rietveld 408576698