aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-11-09 03:55:30 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-11-14 20:35:36 +0900
commitf5ef4365f46d31cb4aa85474345a5d2c20e86590 (patch)
treee4ac7016de573cfc179e1121d93eb384b3ef2fd7 /src/components/script/dom/htmlcollection.rs
parentb1762655e6ce7e9ff8a79710a5b10bef34a3c26b (diff)
downloadservo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.tar.gz
servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.zip
Stop passing DOMStrings via borrowed pointer. (#1201)
Diffstat (limited to 'src/components/script/dom/htmlcollection.rs')
-rw-r--r--src/components/script/dom/htmlcollection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlcollection.rs b/src/components/script/dom/htmlcollection.rs
index c54606ba108..204c1a23501 100644
--- a/src/components/script/dom/htmlcollection.rs
+++ b/src/components/script/dom/htmlcollection.rs
@@ -46,7 +46,7 @@ impl HTMLCollection {
}
}
- pub fn NamedItem(&self, _cx: *JSContext, _name: &DOMString) -> Fallible<*JSObject> {
+ pub fn NamedItem(&self, _cx: *JSContext, _name: DOMString) -> Fallible<*JSObject> {
Ok(ptr::null())
}
@@ -55,7 +55,7 @@ impl HTMLCollection {
self.Item(index)
}
- pub fn NamedGetter(&self, _cx: *JSContext, _name: &Option<DOMString>, _found: &mut bool) -> Fallible<*JSObject> {
+ pub fn NamedGetter(&self, _cx: *JSContext, _name: Option<DOMString>, _found: &mut bool) -> Fallible<*JSObject> {
Ok(ptr::null())
}
}