mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Return a reference in Document::window()
This commit is contained in:
parent
e889b0914b
commit
409b5e3695
12 changed files with 31 additions and 39 deletions
|
@ -84,7 +84,7 @@ impl HTMLTextAreaElement {
|
|||
fn new_inherited(localName: DOMString,
|
||||
prefix: Option<DOMString>,
|
||||
document: &Document) -> HTMLTextAreaElement {
|
||||
let chan = document.window().r().constellation_chan();
|
||||
let chan = document.window().constellation_chan();
|
||||
HTMLTextAreaElement {
|
||||
htmlelement:
|
||||
HTMLElement::new_inherited_with_flags(NodeFlags::new() | IN_ENABLED_STATE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue