diff --git a/patch/patch.cfg b/patch/patch.cfg index 632f560dd..70bb6382e 100644 --- a/patch/patch.cfg +++ b/patch/patch.cfg @@ -31,6 +31,11 @@ patches = [ 'name': 'webcore_subresloader', 'path': '../third_party/WebKit/Source/WebCore/loader/', }, + { + # https://bugs.webkit.org/show_bug.cgi?id=73760 + 'name': 'webcore_cachedresource', + 'path': '../third_party/WebKit/Source/WebCore/loader/cache/', + }, { # http://code.google.com/p/chromiumembedded/issues/detail?id=364 'name': 'spi_webcore_364', diff --git a/patch/patches/webcore_cachedresource.patch b/patch/patches/webcore_cachedresource.patch new file mode 100644 index 000000000..e0cb15c6f --- /dev/null +++ b/patch/patches/webcore_cachedresource.patch @@ -0,0 +1,14 @@ +Index: CachedResource.cpp +=================================================================== +--- CachedResource.cpp (revision 100508) ++++ CachedResource.cpp (working copy) +@@ -365,6 +365,9 @@ + + void CachedResource::addClient(CachedResourceClient* client) + { ++ if (isPurgeable()) ++ makePurgeable(false); ++ + addClientToSet(client); + didAddClient(client); + }