mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
parent
7aac02860d
commit
fed762b752
@ -43,6 +43,7 @@
|
|||||||
#include "nsGfxCIID.h"
|
#include "nsGfxCIID.h"
|
||||||
#include "nsIPrompt.h"
|
#include "nsIPrompt.h"
|
||||||
#include "nsTextFormatter.h"
|
#include "nsTextFormatter.h"
|
||||||
|
#include "nsIHTTPEventSink.h"
|
||||||
|
|
||||||
// Local Includes
|
// Local Includes
|
||||||
#include "nsDocShell.h"
|
#include "nsDocShell.h"
|
||||||
@ -187,7 +188,7 @@ NS_IMETHODIMP nsDocShell::GetInterface(const nsIID& aIID, void** aSink)
|
|||||||
else
|
else
|
||||||
return NS_NOINTERFACE;
|
return NS_NOINTERFACE;
|
||||||
}
|
}
|
||||||
else if (aIID.Equals(NS_GET_IID(nsIProgressEventSink)) ||
|
else if (aIID.Equals(NS_GET_IID(nsIProgressEventSink)) || aIID.Equals(NS_GET_IID(nsIHTTPEventSink)) ||
|
||||||
aIID.Equals(NS_GET_IID(nsIWebProgress)))
|
aIID.Equals(NS_GET_IID(nsIWebProgress)))
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIURILoader> uriLoader(do_GetService(NS_URI_LOADER_PROGID));
|
nsCOMPtr<nsIURILoader> uriLoader(do_GetService(NS_URI_LOADER_PROGID));
|
||||||
|
Loading…
Reference in New Issue
Block a user