cef/patch/patches/webcore_cachedresource.patch

15 lines
376 B
Diff

Index: CachedResource.cpp
===================================================================
--- CachedResource.cpp (revision 103399)
+++ CachedResource.cpp (working copy)
@@ -366,6 +366,9 @@
void CachedResource::addClient(CachedResourceClient* client)
{
+ if (isPurgeable())
+ makePurgeable(false);
+
addClientToSet(client);
didAddClient(client);
}