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

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

Issue 2296913003: [WeakMemoryCache] Make references from MemoryCache to Resource Weak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WeakMemoryCache_RemoveStats
Patch Set: Assume resource is always non-null Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/MemoryCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/MemoryCache.h
diff --git a/third_party/WebKit/Source/core/fetch/MemoryCache.h b/third_party/WebKit/Source/core/fetch/MemoryCache.h
index dd6931d48dfaad865a825e10b80022e57fd7d39b..e5304d42b17de19e5c309e862952ca3add34466f 100644
--- a/third_party/WebKit/Source/core/fetch/MemoryCache.h
+++ b/third_party/WebKit/Source/core/fetch/MemoryCache.h
@@ -96,7 +96,9 @@ private:
{
}
- Member<Resource> m_resource;
+ void clearResourceWeak(Visitor*);
+
+ WeakMember<Resource> m_resource;
};
WILL_NOT_BE_EAGERLY_TRACED_CLASS(MemoryCacheEntry);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/MemoryCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698