landing jdunn's patch for bug 121084, cache: Images requested twice -> "The image cannot be displayed, because it contains errors." message [when "Compare the page in cache ..." set to "every time I view the page"], r=pavlov sr=darin

This commit is contained in:
darin%netscape.com 2003-03-26 05:29:11 +00:00
Родитель 16bc225709
Коммит 2f924faf40
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -529,7 +529,7 @@ NS_IMETHODIMP imgLoader::LoadImageWithChannel(nsIChannel *channel, imgIDecoderOb
imgRequest *request = nsnull;
nsCOMPtr<nsIURI> uri;
channel->GetOriginalURI(getter_AddRefs(uri));
channel->GetURI(getter_AddRefs(uri));
nsCOMPtr<nsICacheEntryDescriptor> entry;
PRBool bHasExpired;