if (aIID.Equals(kIClipViewIID)) {
if (aIID.Equals(NS_GET_IID(nsIClipView))) {
nsresult ClipView::QueryInterface(const nsIID& aIID, void** aInstancePtr){  if (nsnull == aInstancePtr) {    return NS_ERROR_NULL_POINTER;  }    if (aIID.Equals(kIClipViewIID)) {    *aInstancePtr = (void*)(nsIClipView*)this;    return NS_OK;  }  return nsView::QueryInterface(aIID, aInstancePtr);}