Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -600,7 +600,7 @@ nsScriptableInterfaceInfo::GetInterfaceID(nsIID * *aInterfaceID)
|
||||
if(!mInfo)
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
|
||||
return mInfo->GetIID(aInterfaceID);
|
||||
return mInfo->GetInterfaceIID(aInterfaceID);
|
||||
}
|
||||
|
||||
/* readonly attribute PRBool isValid; */
|
||||
|
||||
Reference in New Issue
Block a user