mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Removed JS::root Fixes #8251
This commit is contained in:
parent
521a87180a
commit
d8ef3809a6
25 changed files with 98 additions and 126 deletions
|
@ -465,7 +465,7 @@ impl XMLHttpRequestMethods for XMLHttpRequest {
|
|||
|
||||
// https://xhr.spec.whatwg.org/#the-upload-attribute
|
||||
fn Upload(&self) -> Root<XMLHttpRequestUpload> {
|
||||
self.upload.root()
|
||||
Root::from_ref(&*self.upload)
|
||||
}
|
||||
|
||||
// https://xhr.spec.whatwg.org/#the-send()-method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue