nsCOMPtr<nsIAtom> tag; tag = getter_AddRefs(NS_NewAtom("HTMLMappedAttributes")); aResult = sizeof(*this); aSizer->AddSize(tag, aResult); }
void nsHTMLMappedAttributes::SizeOf(nsISizeOfHandler* aSizer, PRUint32 &aResult){  // first get the unique items collection  UNIQUE_STYLE_ITEMS(uniqueItems);  if(! uniqueItems->AddItem((void*)this)){    // this is already accounted for    return;  }  nsCOMPtr<nsIAtom> tag;  tag = getter_AddRefs(NS_NewAtom("HTMLMappedAttributes"));  aResult = sizeof(*this);  aSizer->AddSize(tag, aResult);}