mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Revert "Issue #2258 - Part 4: Clean up unused pointers."
This reverts commit 9e52953e5486412bcb5613b4cea5a4f54544db2e.
This commit is contained in:
parent
c9e08cb2f5
commit
7b4bb08257
1 changed files with 2 additions and 0 deletions
|
|
@ -562,6 +562,8 @@ bool nsUnknownDecoder::SniffForXML(nsIRequest* aRequest)
|
|||
|
||||
bool nsUnknownDecoder::SniffURI(nsIRequest* aRequest)
|
||||
{
|
||||
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
||||
nsCOMPtr<nsILoadInfo> loadInfo = channel->GetLoadInfo();
|
||||
nsCOMPtr<nsIMIMEService> mimeService(do_GetService("@mozilla.org/mime;1"));
|
||||
if (mimeService) {
|
||||
nsCOMPtr<nsIChannel> channel = do_QueryInterface(aRequest);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue