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

Unified Diff: Source/core/fetch/MemoryCache.h

Issue 645513003: Use C++11 range-based loop in core/fetch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 years, 2 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: Source/core/fetch/MemoryCache.h
diff --git a/Source/core/fetch/MemoryCache.h b/Source/core/fetch/MemoryCache.h
index 3f194e7ef3804b858cf5438c3cc5d2775adaa25f..16ff2a12a37fa3d6bcca84ff7dc70aa24ebe7d9c 100644
--- a/Source/core/fetch/MemoryCache.h
+++ b/Source/core/fetch/MemoryCache.h
@@ -280,7 +280,7 @@ private:
// A URL-based map of all resources that are in the cache (including the freshest version of objects that are currently being
// referenced by a Web page).
- typedef WillBeHeapHashMap<String, OwnPtrWillBeMember<MemoryCacheEntry> > ResourceMap;
+ typedef WillBeHeapHashMap<String, OwnPtrWillBeMember<MemoryCacheEntry>> ResourceMap;
ResourceMap m_resources;
#if ENABLE(OILPAN)
@@ -288,7 +288,7 @@ private:
// should not be deleted. m_allResources only contains on-cache Resource
// objects.
// FIXME: Can we remove manual lifetime management of Resource and this?
- HeapHashSet<Member<Resource> > m_liveResources;
+ HeapHashSet<Member<Resource>> m_liveResources;
friend RawPtr<MemoryCache> replaceMemoryCacheForTesting(RawPtr<MemoryCache>);
#endif

Powered by Google App Engine
This is Rietveld 408576698