mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Documentation and cleanup.
This commit is contained in:
parent
6351fc75fd
commit
c816975750
7 changed files with 67 additions and 29 deletions
|
@ -172,8 +172,8 @@ impl<'a> HTMLIFrameElementMethods for JSRef<'a, HTMLIFrameElement> {
|
|||
let window = window_from_node(self).root();
|
||||
let window = window.r();
|
||||
let children = window.page().children.borrow();
|
||||
children.iter().find(|child| {
|
||||
let window = child.window().root();
|
||||
children.iter().find(|page| {
|
||||
let window = page.window().root();
|
||||
window.r().subpage() == Some(subpage_id)
|
||||
}).map(|page| page.window())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue