mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Replace uses of JS<T>.unrooted() with JS::from_rooted #2580
This commit is contained in:
parent
da668f53d9
commit
bda29ade09
20 changed files with 51 additions and 53 deletions
|
@ -88,7 +88,7 @@ impl Attr {
|
|||
name: name, //TODO: Intern attribute names
|
||||
namespace: namespace,
|
||||
prefix: prefix,
|
||||
owner: Cell::new(owner.unrooted()),
|
||||
owner: Cell::new(JS::from_rooted(owner)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue