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

Unified Diff: chrome/browser/bitmap_fetcher/bitmap_fetcher_service.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: chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
index 13aa93877cff0c36e05b0b25199f2e8e43009852..f9c596257be305c8d28f3bf78e404609bd874aab 100644
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
@@ -96,7 +96,7 @@ class BitmapFetcherService : public KeyedService,
scoped_ptr<const SkBitmap> bitmap;
};
- base::OwningMRUCache<GURL, CacheEntry*> cache_;
+ base::MRUCache<GURL, scoped_ptr<CacheEntry>> cache_;
// Current request ID to be used.
int current_request_id_;

Powered by Google App Engine
This is Rietveld 408576698