mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 490949 - Take into account the load flags of the image's load group when checking whether we're bypassing the cache. r=vlad
This commit is contained in:
parent
4a54908c46
commit
26ec677495
@ -1215,7 +1215,7 @@ NS_IMETHODIMP imgLoader::LoadImage(nsIURI *aURI,
|
||||
|
||||
// If we're bypassing the cache, we are guaranteed to want a new cache entry,
|
||||
// since we're going to do a new load.
|
||||
if (aLoadFlags & nsIRequest::LOAD_BYPASS_CACHE) {
|
||||
if (requestFlags & nsIRequest::LOAD_BYPASS_CACHE) {
|
||||
RemoveFromCache(aURI);
|
||||
} else {
|
||||
// Look in the cache for our URI, and then validate it.
|
||||
|
Loading…
Reference in New Issue
Block a user