mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
ab17d31bbf
commit
71a05a9c39
103 changed files with 103 additions and 103 deletions
|
@ -19,7 +19,7 @@ pub struct DOMRectList {
|
|||
}
|
||||
|
||||
impl DOMRectList {
|
||||
pub fn new_inherited(window: JSRef<Window>,
|
||||
fn new_inherited(window: JSRef<Window>,
|
||||
rects: Vec<JSRef<DOMRect>>) -> DOMRectList {
|
||||
let rects = rects.iter().map(|rect| JS::from_rooted(*rect)).collect();
|
||||
DOMRectList {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue