if (aAttribute == nsHTMLAtoms::noshade) { aHint = NS_STYLE_HINT_VISUAL; } else if ((aAttribute == nsHTMLAtoms::align) || (aAttribute == nsHTMLAtoms::width) || (aAttribute == nsHTMLAtoms::size)) { aHint = NS_STYLE_HINT_REFLOW; } else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) { aHint = NS_STYLE_HINT_CONTENT; }
static const AttributeImpactEntry attributes[] = { { &nsHTMLAtoms::noshade, NS_STYLE_HINT_VISUAL }, { &nsHTMLAtoms::align, NS_STYLE_HINT_REFLOW }, { &nsHTMLAtoms::width, NS_STYLE_HINT_REFLOW }, { &nsHTMLAtoms::size, NS_STYLE_HINT_REFLOW }, { nsnull, NS_STYLE_HINT_NONE }, };  static const AttributeImpactEntry* const map[] = { attributes, sCommonAttributeMap, };
nsHTMLHRElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, PRInt32 aModType,                                          nsChangeHint& aHint) const{  if (aAttribute == nsHTMLAtoms::noshade) {    aHint = NS_STYLE_HINT_VISUAL;  }  else if ((aAttribute == nsHTMLAtoms::align) ||             (aAttribute == nsHTMLAtoms::width) ||             (aAttribute == nsHTMLAtoms::size)) {    aHint = NS_STYLE_HINT_REFLOW;  }  else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) {    aHint = NS_STYLE_HINT_CONTENT;  }  return NS_OK;}