diff options
author | bors-servo <release+servo@mozilla.com> | 2013-07-30 13:30:24 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-07-30 13:30:24 -0700 |
commit | 0c105b5307bb69e8d43a1c6263b09c1b8e52c355 (patch) | |
tree | f69dc2cc92dfdbd5db54c0f7c579b3f65ec43ff2 /src/components/script/dom/htmlcollection.rs | |
parent | ad8fa8b3d75b58102f75848b90ab4721a7cfcfce (diff) | |
parent | 5546f2105bea0a3155a1090f3a9a8dfb65c7b47d (diff) | |
download | servo-0c105b5307bb69e8d43a1c6263b09c1b8e52c355.tar.gz servo-0c105b5307bb69e8d43a1c6263b09c1b8e52c355.zip |
auto merge of #641 : jdm/servo/htmldoc2, r=jdm
There are several mechanical changes here that make this look more intimidating than it is. DOMStrings are now passed by reference, and Event and Event_ have swapped names. Finally, there are the various places that need to use `document.with_base |doc| { document.foo }` instead of `document.foo`.
Diffstat (limited to 'src/components/script/dom/htmlcollection.rs')
-rw-r--r-- | src/components/script/dom/htmlcollection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmlcollection.rs b/src/components/script/dom/htmlcollection.rs index a19ed5f669d..77f50f9ab87 100644 --- a/src/components/script/dom/htmlcollection.rs +++ b/src/components/script/dom/htmlcollection.rs @@ -44,7 +44,7 @@ impl HTMLCollection { } } - pub fn NamedItem(&self, _cx: *JSContext, _name: DOMString, rv: &mut ErrorResult) -> *JSObject { + pub fn NamedItem(&self, _cx: *JSContext, _name: &DOMString, rv: &mut ErrorResult) -> *JSObject { *rv = Ok(()); ptr::null() } |