*aInstancePtrResult = (void*)this;
nsICSSStyleSheet *tmp = this; nsISupports *tmp2 = tmp; *aInstancePtrResult = (void*) tmp2;
CSSRuleProcessor::QueryInterface(REFNSIID aIID, void** aInstancePtrResult){  if (NULL == aInstancePtrResult) {    return NS_ERROR_NULL_POINTER;  }  static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);  if (aIID.Equals(NS_GET_IID(nsICSSStyleRuleProcessor))) {    *aInstancePtrResult = (void*)this;    NS_ADDREF_THIS();    return NS_OK;  }  if (aIID.Equals(NS_GET_IID(nsIStyleRuleProcessor))) {    *aInstancePtrResult = (void*)this;    NS_ADDREF_THIS();    return NS_OK;  }  if (aIID.Equals(kISupportsIID)) {    *aInstancePtrResult = (void*)this;    NS_ADDREF_THIS();    return NS_OK;  }  return NS_NOINTERFACE;}