From f892d2204e723c976d8191d8232c79b6574298fc Mon Sep 17 00:00:00 2001 From: Shih-Chiang Chien Date: Fri, 7 Jul 2017 15:32:33 +0800 Subject: [PATCH] Bug 1379095 - add nsIRequest in nsAboutCacheEntry::Channel QI. r=mayhemer nsAboutCacheEntry::Channel is introduced by Bug 1266196. Assert_NoQueryNeeded() check is failed due to nsAboutCacheEntry::Channel return nullptr while QI into a nsCOMPtr pointer. MozReview-Commit-ID: 4lYeN4lNtTm --HG-- extra : rebase_source : 633bcd0911cc9e9703e9137a398db02fdd1f5aa4 --- netwerk/protocol/about/nsAboutCacheEntry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/netwerk/protocol/about/nsAboutCacheEntry.cpp b/netwerk/protocol/about/nsAboutCacheEntry.cpp index 5b7b6298f793..641c4db2cff9 100644 --- a/netwerk/protocol/about/nsAboutCacheEntry.cpp +++ b/netwerk/protocol/about/nsAboutCacheEntry.cpp @@ -87,6 +87,7 @@ NS_IMPL_ISUPPORTS(nsAboutCacheEntry::Channel, nsICacheEntryOpenCallback, nsICacheEntryMetaDataVisitor, nsIStreamListener, + nsIRequest, nsIChannel) //-----------------------------------------------------------------------------