Changeset 41425 in webkit
- Timestamp:
- Mar 4, 2009 10:25:50 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r41424 r41425 1 2009-03-04 Brady Eidson <beidson@apple.com> 2 3 Reviewed by Darin Adler 4 5 <rdar://problem/6619630> Quick Look of vCards stuck on image of first card opened. 6 7 I narrowed this down to http://trac.webkit.org/changeset/39304 which, among other things, 8 consolidated some of the various decision making pieces of the Cache into the new method 9 FrameLoader::cachePolicy(). 10 11 Before 39304, when deciding whether to use an existing CachedResource, we checked if the FrameLoader 12 is reloading. If it is, we'd evict any existing resource then recreate it. Quick looks uses the 13 same URL for this image every time and expects it to be reloaded with each new card. 14 15 The FrameLoader::isReloading() check did one thing - Ask the DocumentLoader if it's cache policy 16 is "ReloadIgnoringCacheData". This check was lost in the consolidation to the new method. 17 18 * loader/FrameLoader.cpp: 19 (WebCore::FrameLoader::cachePolicy): Restore the DocumentLoader's cachePolicy check as a possible 20 condition for returning CachePolicyReload. 21 1 22 2009-03-04 Timothy Hatcher <timothy@apple.com> 2 23 -
trunk/WebCore/loader/FrameLoader.cpp
r41398 r41425 3238 3238 return CachePolicyVerify; 3239 3239 3240 if (m_loadType == FrameLoadTypeReloadFromOrigin )3240 if (m_loadType == FrameLoadTypeReloadFromOrigin || documentLoader()->request().cachePolicy() == ReloadIgnoringCacheData) 3241 3241 return CachePolicyReload; 3242 3242
Note: See TracChangeset
for help on using the changeset viewer.