mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Move HTMLSelectElement upcast call into HTMLOptionsCollection constructor. Fixes #15521
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user