mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove Temporary::new()
Temporary::from_rooted() now takes an Assignable value.
This commit is contained in:
parent
2770886196
commit
1a30925cad
19 changed files with 45 additions and 48 deletions
|
@ -274,7 +274,7 @@ impl<'a> AttrHelpers<'a> for JSRef<'a, Attr> {
|
|||
}
|
||||
|
||||
fn owner(self) -> Option<Temporary<Element>> {
|
||||
self.owner.get().map(Temporary::new)
|
||||
self.owner.get().map(Temporary::from_rooted)
|
||||
}
|
||||
|
||||
fn summarize(self) -> AttrInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue