Bug 664130. Remove redundant isPositioned check. r=roc.

This commit is contained in:
Jonathan Watt 2011-07-13 08:56:39 +01:00
parent 9df92e2b44
commit 3de087f518

View File

@ -1741,7 +1741,7 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
}
if (NS_SUCCEEDED(rv)) {
if (isPositioned && applyAbsPosClipping) {
if (applyAbsPosClipping) {
nsAbsPosClipWrapper wrapper(clipRect);
rv = wrapper.WrapListsInPlace(aBuilder, aChild, pseudoStack);
}