mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
fixes bug 201295 "Changed toplevel images don't reload [file:// URLs]" r=biesi sr=pavlov
This commit is contained in:
parent
e3f678e96a
commit
4c694bf157
@ -549,10 +549,10 @@ NS_IMETHODIMP imgLoader::LoadImageWithChannel(nsIChannel *channel, imgIDecoderOb
|
||||
}
|
||||
else if (RevalidateEntry(entry, requestFlags, bHasExpired)) {
|
||||
nsCOMPtr<nsICachingChannel> cacheChan(do_QueryInterface(channel));
|
||||
|
||||
NS_ASSERTION(cacheChan, "Cache entry without a caching channel!");
|
||||
if (cacheChan) {
|
||||
cacheChan->IsFromCache(&bUseCacheCopy);
|
||||
} else {
|
||||
bUseCacheCopy = PR_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user