virtual void AddBox(nsIFrame* aFrame) { nsRect overflow = aFrame == mCurrentFrame ? mCurrentFrameOverflowArea : GetPreEffectsOverflowRect(aFrame); mResult.UnionRect(mResult, overflow + aFrame->GetOffsetTo(mReferenceFrame)); }
virtual void AddBox(nsIFrame* aFrame) { nsRect overflow = aFrame == mCurrentFrame ? mCurrentFrameOverflowArea : GetPreEffectsOverflowRect(aFrame); mResult.UnionRect(mResult, overflow + aFrame->GetOffsetTo(mReferenceFrame)); }