From a74397432ee8d9311e5c7558cfcea2ec5c843143 Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Fri, 11 Apr 2014 00:04:31 +0900 Subject: [PATCH] Make Attr::SetValue uses the internal setter. --- src/components/script/dom/attr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/script/dom/attr.rs b/src/components/script/dom/attr.rs index 40da74cfbd2..07c22fa019d 100644 --- a/src/components/script/dom/attr.rs +++ b/src/components/script/dom/attr.rs @@ -69,7 +69,7 @@ impl Attr { } pub fn SetValue(&mut self, value: DOMString) { - self.value = value; + self.set_value(value); } pub fn Name(&self) -> DOMString {