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
Родитель 7730c2fa49
Коммит 72a74dab8e
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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,