mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc
This commit is contained in:
parent
54e344ebd0
commit
c939167a6c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user