diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp index 50c1ea796ff..ab4d179dbb6 100644 --- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -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,