PRInt32      aNameSpaceID,
nsGfxScrollFrameInner::AttributeChanged(nsIDocument *aDocument,                              nsIContent*  aContent,                              nsIAtom*     aAttribute,                              PRInt32      aHint) {   if (mHScrollbarFrame && mVScrollbarFrame)   {     nsCOMPtr<nsIContent> vcontent;     nsCOMPtr<nsIContent> hcontent;     mHScrollbarFrame->GetContent(getter_AddRefs(hcontent));     mVScrollbarFrame->GetContent(getter_AddRefs(vcontent));     if (hcontent.get() == aContent  || vcontent.get() == aContent)     {        nscoord x = 0;        nscoord y = 0;        nsString value;        if (NS_CONTENT_ATTR_HAS_VALUE == hcontent->GetAttribute(kNameSpaceID_None, nsXULAtoms::curpos, value))        {           PRInt32 error;           // convert it to an integer           x = value.ToInteger(&error);        }        if (NS_CONTENT_ATTR_HAS_VALUE == vcontent->GetAttribute(kNameSpaceID_None, nsXULAtoms::curpos, value))        {           PRInt32 error;           // convert it to an integer           y = value.ToInteger(&error);        }        ScrollbarChanged(x*mOnePixel, y*mOnePixel);     }   }   return NS_OK;}