Index: third_party/WebKit/Source/core/fetch/Resource.h |
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h |
index 471249d76b8b0c592d62abc1705f79024817585b..89a990c3808f87f9ee1c15063999aad03f06fb9d 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.h |
+++ b/third_party/WebKit/Source/core/fetch/Resource.h |
@@ -288,7 +288,7 @@ protected: |
// Returns the memory dump name used for tracing. See Resource::onMemoryDump. |
String getMemoryDumpName() const; |
- const HashCountedSet<ResourceClient*>& clients() const { return m_clients; } |
+ const HeapHashCountedSet<WeakMember<ResourceClient>>& clients() const { return m_clients; } |
DataBufferingPolicy dataBufferingPolicy() const { return m_options.dataBufferingPolicy; } |
void setCachePolicyBypassingCache(); |
@@ -348,9 +348,9 @@ private: |
// Ordered list of all redirects followed while fetching this resource. |
Vector<RedirectPair> m_redirectChain; |
- HashCountedSet<ResourceClient*> m_clients; |
- HashCountedSet<ResourceClient*> m_clientsAwaitingCallback; |
- HashCountedSet<ResourceClient*> m_finishedClients; |
+ HeapHashCountedSet<WeakMember<ResourceClient>> m_clients; |
+ HeapHashCountedSet<WeakMember<ResourceClient>> m_clientsAwaitingCallback; |
+ HeapHashCountedSet<WeakMember<ResourceClient>> m_finishedClients; |
ResourceLoaderOptions m_options; |