SetAttribute(mVScrollbarFrame, nsXULAtoms::curpos, aY); SetAttribute(mHScrollbarFrame, nsXULAtoms::curpos, aX); return NS_OK;
NS_ASSERTION(!mViewInitiatedScroll, "Cannot reenter ScrollPositionDidChange");  mViewInitiatedScroll = PR_TRUE;  InternalScrollPositionDidChange(aX, aY);  mViewInitiatedScroll = PR_FALSE;  return NS_OK;
nsGfxScrollFrameInner::ScrollPositionDidChange(nsIScrollableView* aScrollable, nscoord aX, nscoord aY){   SetAttribute(mVScrollbarFrame, nsXULAtoms::curpos, aY);   SetAttribute(mHScrollbarFrame, nsXULAtoms::curpos, aX);   return NS_OK;}