Fix problem where images loaded using the background-image CSS attribute sometimes do not display on Mac after browsing back to the page (issue #447).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@403 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-12-06 08:49:22 +00:00
parent de192555cc
commit 1d6de4e8b9
2 changed files with 19 additions and 0 deletions

View File

@ -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',

View File

@ -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);
}