mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1324661 followup: check our child hint before trying to append it. r=bholley
MozReview-Commit-ID: 3FIBludwV7j
This commit is contained in:
parent
55021b6577
commit
54baf750e7
@ -167,8 +167,10 @@ ServoRestyleManager::RecreateStyleContexts(Element* aElement,
|
||||
"How did that happen?");
|
||||
aChangeListToProcess.AppendChange(aElement->GetPrimaryFrame(), aElement,
|
||||
changeHint);
|
||||
aChangeListToProcess.AppendChange(styleFrame, aElement,
|
||||
NS_HintsNotHandledForDescendantsIn(changeHint));
|
||||
nsChangeHint childHint = NS_HintsNotHandledForDescendantsIn(changeHint);
|
||||
if (childHint) {
|
||||
aChangeListToProcess.AppendChange(styleFrame, aElement, childHint);
|
||||
}
|
||||
} else {
|
||||
aChangeListToProcess.AppendChange(styleFrame, aElement, changeHint);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user