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

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

Issue 723423002: Clear ResourceFetcher::m_validatedURLs if too many entries are added (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Limit by ring buffer Created 6 years, 1 month 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
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceFetcher.h
diff --git a/Source/core/fetch/ResourceFetcher.h b/Source/core/fetch/ResourceFetcher.h
index f60451458f7ce4e86b93b1ff5457aef08bc3c52e..d7dfe3b428da3ef9260d4478d0ae3c2ff1c95a31 100644
--- a/Source/core/fetch/ResourceFetcher.h
+++ b/Source/core/fetch/ResourceFetcher.h
@@ -206,6 +206,7 @@ private:
void reloadImagesIfNotDeferred();
HashSet<String> m_validatedURLs;
+ Deque<String> m_validatedURLsRingBuffer;
kouhei (in TOK) 2014/11/14 09:15:57 My bad. I didn't notice m_validatedURLs was a Hash
mutable DocumentResourceMap m_documentResources;
// FIXME: Oilpan: Ideally this should just be a traced Member but that will
// currently leak because RenderStyle and its data are not on the heap.
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698