mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
merge from master
This commit is contained in:
commit
6e774ea6eb
1044 changed files with 46059 additions and 1506 deletions
|
@ -40,7 +40,7 @@ impl FileListMethods for FileList {
|
|||
|
||||
// https://w3c.github.io/FileAPI/#dfn-item
|
||||
fn Item(&self, index: u32) -> Option<Root<File>> {
|
||||
Some(self.list[index as usize].root())
|
||||
Some(Root::from_ref(&*(self.list[index as usize])))
|
||||
}
|
||||
|
||||
// check-tidy: no specs after this line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue