Bug 1029620 P2 Out-of-line destructor to avoid spurious include in nsCrossSiteListenerProxy.h. r=ehsan

This commit is contained in:
Ben Kelly 2014-07-08 16:53:56 -04:00
parent 631d97a806
commit 43a20ca507
2 changed files with 5 additions and 1 deletions

View File

@ -453,6 +453,10 @@ nsCORSListenerProxy::nsCORSListenerProxy(nsIStreamListener* aOuter,
mPreflightHeaders.Sort();
}
nsCORSListenerProxy::~nsCORSListenerProxy()
{
}
nsresult
nsCORSListenerProxy::Init(nsIChannel* aChannel, bool aAllowDataURI)
{

View File

@ -62,7 +62,7 @@ public:
nsresult Init(nsIChannel* aChannel, bool aAllowDataURI = false);
private:
~nsCORSListenerProxy() {}
~nsCORSListenerProxy();
nsresult UpdateChannel(nsIChannel* aChannel, bool aAllowDataURI = false);
nsresult CheckRequestApproved(nsIRequest* aRequest);