aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmloptionelement.rs
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-09-20 12:55:21 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-09-20 12:55:21 -0700
commitd6ba37c68c34a3748a789caeca225083275757e5 (patch)
treef7d0a43047979744a3ef2490db1cdaf907870ea1 /components/script/dom/htmloptionelement.rs
parent545e9884a6907f04814c6008699c2bbcfef22edd (diff)
parent8aec08074c1535d2c8c9d3bb2208c6f83b82114e (diff)
downloadservo-d6ba37c68c34a3748a789caeca225083275757e5.tar.gz
servo-d6ba37c68c34a3748a789caeca225083275757e5.zip
Merge pull request #3433 from zwarich/jsref-self-helpers
More progress in the &JSRef -> JSRef conversion
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r--components/script/dom/htmloptionelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs
index 4cfaa96daa0..156749fb623 100644
--- a/components/script/dom/htmloptionelement.rs
+++ b/components/script/dom/htmloptionelement.rs
@@ -72,8 +72,8 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
make_bool_getter!(Disabled)
// http://www.whatwg.org/html/#dom-option-disabled
- fn SetDisabled(&self, disabled: bool) {
- let elem: JSRef<Element> = ElementCast::from_ref(*self);
+ fn SetDisabled(self, disabled: bool) {
+ let elem: JSRef<Element> = ElementCast::from_ref(self);
elem.set_bool_attribute("disabled", disabled)
}