mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Move HTMLSelectElement upcast call into HTMLOptionsCollection constructor. Fixes #15521
This commit is contained in:
parent
357df35045
commit
7409031af2
2 changed files with 6 additions and 5 deletions
|
@ -243,7 +243,7 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
|
|||
self.options.or_init(|| {
|
||||
let window = window_from_node(self);
|
||||
HTMLOptionsCollection::new(
|
||||
&window, self.upcast(), box OptionsFilter)
|
||||
&window, self, box OptionsFilter)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue