Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
MozReview-Commit-ID: 3InVAUw8djN * * * Bug 1364361 - Followup to address review comment. r=me MozReview-Commit-ID: IpdoSon9MAj
This commit is contained in:
@@ -1189,15 +1189,10 @@ nsComboboxControlFrame::GetContentInsertionFrame() {
|
||||
}
|
||||
|
||||
void
|
||||
nsComboboxControlFrame::DoUpdateStyleOfOwnedAnonBoxes(
|
||||
ServoStyleSet& aStyleSet,
|
||||
nsStyleChangeList& aChangeList,
|
||||
nsChangeHint aHintForThisFrame)
|
||||
nsComboboxControlFrame::AppendDirectlyOwnedAnonBoxes(nsTArray<OwnedAnonBox>& aResult)
|
||||
{
|
||||
UpdateStyleOfChildAnonBox(mDropdownFrame, aStyleSet, aChangeList,
|
||||
aHintForThisFrame);
|
||||
UpdateStyleOfChildAnonBox(mDisplayFrame, aStyleSet, aChangeList,
|
||||
aHintForThisFrame);
|
||||
aResult.AppendElement(OwnedAnonBox(mDropdownFrame));
|
||||
aResult.AppendElement(OwnedAnonBox(mDisplayFrame));
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
||||
Reference in New Issue
Block a user