Fix Equiv related deprecation warnings

...except where we have our own implementations of Equiv.
This commit is contained in:
Matthew Rasmus 2015-01-07 21:14:14 -08:00
parent 7bbce60e43
commit 020a767849
3 changed files with 6 additions and 6 deletions

View file

@ -80,11 +80,11 @@ impl<'a> URLSearchParamsMethods for JSRef<'a, URLSearchParams> {
}
fn Get(self, name: DOMString) -> Option<DOMString> {
self.data.borrow().find_equiv(&name).map(|v| v[0].clone())
self.data.borrow().get(&name).map(|v| v[0].clone())
}
fn Has(self, name: DOMString) -> bool {
self.data.borrow().contains_key_equiv(&name)
self.data.borrow().contains_key(&name)
}
fn Set(self, name: DOMString, value: DOMString) {