Added QI for nsIURL
git-svn-id: svn://10.0.0.236/trunk@35794 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fcc87d468e
commit
a946fddf22
@ -62,6 +62,7 @@ nsStandardURL::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
{
|
||||
NS_ASSERTION(aInstancePtr, "no instance pointer");
|
||||
if (aIID.Equals(kThisStandardUrlImplementationCID) || // used by Equals
|
||||
aIID.Equals(nsIURL::GetIID()) ||
|
||||
aIID.Equals(nsIURI::GetIID()) ||
|
||||
aIID.Equals(kISupportsIID)) {
|
||||
*aInstancePtr = NS_STATIC_CAST(nsIURI*, this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user