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

Unified Diff: ui/ozone/platform/drm/gpu/drm_overlay_validator.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: ui/ozone/platform/drm/gpu/drm_overlay_validator.h
diff --git a/ui/ozone/platform/drm/gpu/drm_overlay_validator.h b/ui/ozone/platform/drm/gpu/drm_overlay_validator.h
index fbe23d3050e381b1e695fe29fbf44fc708d4491e..4d9058f8d0ecc0546c834b45486485199c90fd64 100644
--- a/ui/ozone/platform/drm/gpu/drm_overlay_validator.h
+++ b/ui/ozone/platform/drm/gpu/drm_overlay_validator.h
@@ -70,11 +70,7 @@ class DrmOverlayValidator {
ScanoutBufferGenerator* buffer_generator_; // Not owned.
// List of all configurations which have been validated.
- base::MRUCacheBase<OverlayPlaneList,
- OverlayHintsList,
- std::less<OverlayPlaneList>,
- base::MRUCacheNullDeletor<OverlayHintsList>>
- overlay_hints_cache_;
+ base::MRUCache<OverlayPlaneList, OverlayHintsList> overlay_hints_cache_;
DISALLOW_COPY_AND_ASSIGN(DrmOverlayValidator);
};

Powered by Google App Engine
This is Rietveld 408576698