mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-21 20:03:08 +09:00
Make HTMLOptionsCollection::mSelect into a strong reference.
The cycle collector makes weak references like this obsolete.
This commit is contained in:
parent
27d88fc505
commit
a3386fbe38
4 changed files with 8 additions and 59 deletions
|
|
@ -130,11 +130,6 @@ HTMLSelectElement::HTMLSelectElement(already_AddRefed<mozilla::dom::NodeInfo>& a
|
|||
NS_EVENT_STATE_VALID);
|
||||
}
|
||||
|
||||
HTMLSelectElement::~HTMLSelectElement()
|
||||
{
|
||||
mOptions->DropReference();
|
||||
}
|
||||
|
||||
// ISupports
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_CLASS(HTMLSelectElement)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue