diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 62ac76d7753..b7f230e0b20 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -121,7 +121,7 @@ #include "nsPIDOMWindow.h" #include "nsIDOMDocument.h" #include "nsICachingChannel.h" -#include "nsICacheEntryDescriptor.h" +#include "nsICacheVisitor.h" #include "nsIMultiPartChannel.h" #include "nsIWyciwygChannel.h" @@ -6372,7 +6372,7 @@ nsDocShell::AddToSessionHistory(nsIURI * aURI, } if (cacheToken) { // Check if the page has expired from cache - nsCOMPtr cacheEntryInfo(do_QueryInterface(cacheToken)); + nsCOMPtr cacheEntryInfo(do_QueryInterface(cacheToken)); if (cacheEntryInfo) { PRUint32 expTime; cacheEntryInfo->GetExpirationTime(&expTime); diff --git a/modules/libpr0n/src/imgRequest.cpp b/modules/libpr0n/src/imgRequest.cpp index 632742b7df4..a10f6a35c91 100644 --- a/modules/libpr0n/src/imgRequest.cpp +++ b/modules/libpr0n/src/imgRequest.cpp @@ -628,7 +628,7 @@ NS_IMETHODIMP imgRequest::OnStartRequest(nsIRequest *aRequest, nsISupports *ctxt nsCOMPtr cacheToken; cacheChannel->GetCacheToken(getter_AddRefs(cacheToken)); if (cacheToken) { - nsCOMPtr entryDesc(do_QueryInterface(cacheToken)); + nsCOMPtr entryDesc(do_QueryInterface(cacheToken)); if (entryDesc) { PRUint32 expiration; /* get the expiration time from the caching channel's token */