From ef09b51fd6ccf25c01ae1a3f536e13b8109b60c0 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Wed, 23 Mar 2005 21:27:51 +0000 Subject: [PATCH] Bug 287352. Use wrappedFrame not frame, stupid. r+sr=bzarsky git-svn-id: svn://10.0.0.236/trunk@171073 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index ef3752b8cbf..ff00794e887 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -7901,11 +7901,11 @@ nsCSSFrameConstructor::GetAbsoluteContainingBlock(nsIFrame* aFrame) if (nsLayoutAtoms::areaFrame == frameType || nsLayoutAtoms::blockFrame == frameType || nsLayoutAtoms::positionedInlineFrame == frameType) { - containingBlock = frame; + containingBlock = wrappedFrame; } else if (nsLayoutAtoms::fieldSetFrame == frameType) { // If the positioned frame is a fieldset, use the area frame inside it. // We don't use GetContentInsertionFrame for fieldsets yet. - containingBlock = frame->GetFirstChild(nsnull); + containingBlock = wrappedFrame->GetFirstChild(nsnull); } }