Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc

This commit is contained in:
Benjamin Stover 2011-05-01 18:53:58 -07:00
parent 5eedd38c01
commit 1c80f2b928

View File

@ -1921,7 +1921,7 @@ public:
nsIFrame* aFrame,
nsDisplayList* aList) {
SetCount(++mCount);
return new (aBuilder) nsDisplayScrollLayer(aBuilder, aList, nsnull, mScrolledFrame, mScrollFrame);
return new (aBuilder) nsDisplayScrollLayer(aBuilder, aList, mScrolledFrame, mScrolledFrame, mScrollFrame);
}
virtual nsDisplayItem* WrapItem(nsDisplayListBuilder* aBuilder,