mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	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:
		@@ -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',
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								patch/patches/webcore_cachedresource.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								patch/patches/webcore_cachedresource.patch
									
									
									
									
									
										Normal 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);
 | 
			
		||||
 }
 | 
			
		||||
		Reference in New Issue
	
	Block a user