bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc

This commit is contained in:
sayrer@gmail.com 2007-04-22 21:14:25 -07:00
parent 54e344ebd0
commit c939167a6c

View File

@ -221,6 +221,7 @@ nsFrameIterator::nsFrameIterator(nsPresContext* aPresContext, nsIFrame *aStart,
nsIteratorType aType, PRBool aLockInScrollView,
PRBool aFollowOOFs)
{
mOffEdge = 0;
mPresContext = aPresContext;
if (aFollowOOFs && aStart)
aStart = nsPlaceholderFrame::GetRealFrameFor(aStart);