mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fixes #4164 Make Constructor and new functions take GlobalRef by value
This commit is contained in:
parent
cf616b90a2
commit
85df7f0d6f
25 changed files with 61 additions and 61 deletions
|
@ -21,7 +21,7 @@ impl File {
|
|||
_file_bits: JSRef<Blob>, name: DOMString) -> File {
|
||||
File {
|
||||
//TODO: get type from the underlying filesystem instead of "".to_string()
|
||||
blob: Blob::new_inherited(global, type_, None, ""),
|
||||
blob: Blob::new_inherited(*global, type_, None, ""),
|
||||
name: name,
|
||||
}
|
||||
// XXXManishearth Once Blob is able to store data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue