Bug 828312, patch 1: Remove unneeded assignment to nonInheritedHints, which is not needed because we will do difference computation on the style context in this codepath anyway. r=bzbarsky

This commit is contained in:
L. David Baron 2013-05-10 17:35:08 -07:00
parent c78e8186ae
commit 79987cd17f

View File

@ -1192,9 +1192,6 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
// above, which we would have previously hit for aFrame's previous
// continuation).
newContext = prevContinuationContext;
// We don't know what changes the previous continuation had, so
// assume the worst.
nonInheritedHints = nsChangeHint_Hints_NotHandledForDescendants;
}
else if (pseudoTag == nsCSSAnonBoxes::mozNonElement) {
NS_ASSERTION(localContent,