зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7730c2fa49
Коммит
72a74dab8e
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче