Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
This commit is contained in:
@@ -1062,7 +1062,7 @@ nsLayoutUtils::GetChildListNameFor(nsIFrame* aChildFrame)
|
||||
#ifdef DEBUG
|
||||
// Verify that the frame is actually in that child list or in the
|
||||
// corresponding overflow list.
|
||||
nsIFrame* parent = aChildFrame->GetParent();
|
||||
nsContainerFrame* parent = aChildFrame->GetParent();
|
||||
bool found = parent->GetChildList(id).ContainsFrame(aChildFrame);
|
||||
if (!found) {
|
||||
if (!(aChildFrame->GetStateBits() & NS_FRAME_OUT_OF_FLOW)) {
|
||||
|
||||
Reference in New Issue
Block a user