diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index 969451a2b257..eeca0c1fd710 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -1282,7 +1282,7 @@ nsOverflowContinuationTracker::nsOverflowContinuationTracker(nsPresContext* a SetUpListWalker(); } } - else { + if (!mOverflowContList) { mOverflowContList = mParent->GetPropTableFrames(aPresContext, nsGkAtoms::excessOverflowContainersProperty);