mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Remove unsound Root::deref() calls in HTML elements.
This commit is contained in:
parent
6032a2f8af
commit
d09d245ee1
5 changed files with 8 additions and 3 deletions
|
@ -112,6 +112,7 @@ impl<'a> HTMLIFrameElementHelpers for JSRef<'a, HTMLIFrameElement> {
|
|||
|
||||
// Subpage Id
|
||||
let window = window_from_node(self).root();
|
||||
let window = window.r();
|
||||
let page = window.page();
|
||||
let subpage_id = page.get_next_subpage_id();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue