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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user