Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959.

git-svn-id: svn://10.0.0.236/trunk@115158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jaggernaut%netscape.com
2002-02-21 17:57:25 +00:00
parent 1f4bcbb88a
commit 4d91459de3

View File

@@ -1452,11 +1452,6 @@ nsBoxFrame::AttributeChanged(nsIPresContext* aPresContext,
else if (aAttribute == nsXULAtoms::mousethrough) {
mInner->UpdateMouseThrough();
}
nsCOMPtr<nsIPresShell> shell;
aPresContext->GetShell(getter_AddRefs(shell));
nsBoxLayoutState state(aPresContext);
MarkDirty(state);
}
else if (aAttribute == nsXULAtoms::ordinal) {
nsCOMPtr<nsIPresShell> shell;
@@ -1479,6 +1474,11 @@ nsBoxFrame::AttributeChanged(nsIPresContext* aPresContext,
RegUnregAccessKey(aPresContext, PR_TRUE);
}
nsCOMPtr<nsIPresShell> shell;
aPresContext->GetShell(getter_AddRefs(shell));
nsBoxLayoutState state(aPresContext);
MarkDirty(state);
return rv;
}