diff options
author | Josh Matthews <josh@joshmatthews.net> | 2013-07-27 14:28:05 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-07-30 16:28:02 -0400 |
commit | 5546f2105bea0a3155a1090f3a9a8dfb65c7b47d (patch) | |
tree | f69dc2cc92dfdbd5db54c0f7c579b3f65ec43ff2 /src/components/script/dom/htmlcollection.rs | |
parent | ad8fa8b3d75b58102f75848b90ab4721a7cfcfce (diff) | |
download | servo-5546f2105bea0a3155a1090f3a9a8dfb65c7b47d.tar.gz servo-5546f2105bea0a3155a1090f3a9a8dfb65c7b47d.zip |
Generate HTMLDocument bindings. Introduce invariant into generated bindings that associated DOM classes are named the same as their interfaces, so Event and Event_ need to be swapped.
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() } |