mirror of
https://github.com/servo/servo
synced 2026-04-27 01:55:03 +02:00
Remove unsound Root::deref() calls in HTML elements.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user