From 3f91cf4d04d56ca8dad580dd7242cdc126d67475 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Wed, 26 Mar 2003 05:29:11 +0000 Subject: [PATCH] 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 --- modules/libpr0n/src/imgLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libpr0n/src/imgLoader.cpp b/modules/libpr0n/src/imgLoader.cpp index 9b547182b21..00cb74dfb9f 100644 --- a/modules/libpr0n/src/imgLoader.cpp +++ b/modules/libpr0n/src/imgLoader.cpp @@ -529,7 +529,7 @@ NS_IMETHODIMP imgLoader::LoadImageWithChannel(nsIChannel *channel, imgIDecoderOb imgRequest *request = nsnull; nsCOMPtr uri; - channel->GetOriginalURI(getter_AddRefs(uri)); + channel->GetURI(getter_AddRefs(uri)); nsCOMPtr entry; PRBool bHasExpired;