if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttr(kNameSpaceID_None, atom, value))
if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttribute(kNameSpaceID_None, atom, value))
nsGfxScrollFrameInner::GetIntegerAttribute(nsIBox* aBox, nsIAtom* atom, PRInt32 defaultValue){    nsIFrame* frame = nsnull;    aBox->GetFrame(&frame);    nsIContent* content = frame->GetContent();    nsAutoString value;    if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttr(kNameSpaceID_None, atom, value))    {      PRInt32 error;      // convert it to an integer      defaultValue = value.ToInteger(&error);    }    return defaultValue;}