mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Update Rust.
This commit is contained in:
parent
3644d0272c
commit
eaedeb07cb
184 changed files with 643 additions and 657 deletions
|
@ -34,7 +34,7 @@ impl Text {
|
|||
|
||||
pub fn new(text: DOMString, document: &JSRef<Document>) -> Temporary<Text> {
|
||||
let node = Text::new_inherited(text, document);
|
||||
Node::reflect_node(~node, document, TextBinding::Wrap)
|
||||
Node::reflect_node(box node, document, TextBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn Constructor(owner: &JSRef<Window>, text: DOMString) -> Fallible<Temporary<Text>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue