diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-14 15:08:52 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-14 15:08:52 +0100 |
commit | 023af95abeb4a9bd61665f37fc8dec173e0f2f4a (patch) | |
tree | 11b1facff61ff5083824158bf48cfc635a86e416 /dom/html/HTMLSelectElement.cpp | |
parent | fea96b4527a2db6cd97c9053d647478b347d3853 (diff) | |
download | UXP-023af95abeb4a9bd61665f37fc8dec173e0f2f4a.tar UXP-023af95abeb4a9bd61665f37fc8dec173e0f2f4a.tar.gz UXP-023af95abeb4a9bd61665f37fc8dec173e0f2f4a.tar.lz UXP-023af95abeb4a9bd61665f37fc8dec173e0f2f4a.tar.xz UXP-023af95abeb4a9bd61665f37fc8dec173e0f2f4a.zip |
Make HTMLOptionsCollection::mSelect into a strong reference.
The cycle collector makes weak references like this obsolete.
Diffstat (limited to 'dom/html/HTMLSelectElement.cpp')
-rw-r--r-- | dom/html/HTMLSelectElement.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dom/html/HTMLSelectElement.cpp b/dom/html/HTMLSelectElement.cpp index 53f42317a..9ba0a1efe 100644 --- a/dom/html/HTMLSelectElement.cpp +++ b/dom/html/HTMLSelectElement.cpp @@ -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) |