Bug 1377999 - Make TextNode to adapt the DOMArena changes r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D62353
This commit is contained in:
Sean Feng
2020-03-17 14:53:54 +00:00
parent 26a255b849
commit fbd3ec536a
18 changed files with 45 additions and 33 deletions

View File

@@ -1152,7 +1152,7 @@ nsresult nsComboboxControlFrame::CreateAnonymousContent(
nsNodeInfoManager* nimgr = mContent->NodeInfo()->NodeInfoManager();
mDisplayContent = new nsTextNode(nimgr);
mDisplayContent = new (nimgr) nsTextNode(nimgr);
// set the value of the text node
mDisplayedIndex = mListControlFrame->GetSelectedIndex();