I don't really want to go down the road of the second patch, though.
Here's another plan: instead of iterating through the kids of the scrollframe in BuildDisplayList, just explicitly do
if (mHScrollbarBox && mHasHorizontalScrollbar) {
rv = mOuter->BuildDisplayListForChild(aBuilder, mHScrollbarBox, aDirtyRect, aLists);
NS_ENSURE_SUCCESS(rv, rv);
}
etc
I don't really want to go down the road of the second patch, though.
Here's another plan: instead of iterating through the kids of the scrollframe in BuildDisplayList, just explicitly do crollbar) { >BuildDisplayLi stForChild( aBuilder, mHScrollbarBox, aDirtyRect, aLists); ENSURE_ SUCCESS( rv, rv);
if (mHScrollbarBox && mHasHorizontalS
rv = mOuter-
NS_
}
etc