diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-17 02:23:25 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-19 09:36:52 +0200 |
commit | 409b5e3695828e01fc25cbab96148c4932f07cad (patch) | |
tree | 3bb4c855c3164ec5be37929739c081fc230cea7e /components/script/dom/htmlinputelement.rs | |
parent | e889b0914b88bbbe903bc390c444fb13f4c0dce5 (diff) | |
download | servo-409b5e3695828e01fc25cbab96148c4932f07cad.tar.gz servo-409b5e3695828e01fc25cbab96148c4932f07cad.zip |
Return a reference in Document::window()
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r-- | components/script/dom/htmlinputelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs index cdfe8716775..51984c73be7 100644 --- a/components/script/dom/htmlinputelement.rs +++ b/components/script/dom/htmlinputelement.rs @@ -106,7 +106,7 @@ static DEFAULT_INPUT_SIZE: u32 = 20; impl HTMLInputElement { fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: &Document) -> HTMLInputElement { - let chan = document.window().r().constellation_chan(); + let chan = document.window().constellation_chan(); HTMLInputElement { htmlelement: HTMLElement::new_inherited_with_flags(NodeFlags::new() | IN_ENABLED_STATE, |