mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Updated reflect_dom_object to be passed by value
This commit is contained in:
parent
9cea3ce266
commit
2cbf5a3671
51 changed files with 75 additions and 75 deletions
|
@ -21,7 +21,7 @@ impl Console {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(global: &GlobalRef) -> Temporary<Console> {
|
||||
pub fn new(global: GlobalRef) -> Temporary<Console> {
|
||||
reflect_dom_object(box Console::new_inherited(), global, ConsoleBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue