aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-10-17 02:23:25 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-10-19 09:36:52 +0200
commit409b5e3695828e01fc25cbab96148c4932f07cad (patch)
tree3bb4c855c3164ec5be37929739c081fc230cea7e /components/script/dom/htmlinputelement.rs
parente889b0914b88bbbe903bc390c444fb13f4c0dce5 (diff)
downloadservo-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.rs2
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,