Bug 1377999 - Make TextNode to adapt the DOMArena changes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62353
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user