diff options
author | Cameron Zwarich <zwarich@mozilla.com> | 2014-09-20 12:55:21 -0700 |
---|---|---|
committer | Cameron Zwarich <zwarich@mozilla.com> | 2014-09-20 12:55:21 -0700 |
commit | d6ba37c68c34a3748a789caeca225083275757e5 (patch) | |
tree | f7d0a43047979744a3ef2490db1cdaf907870ea1 /components/script/dom/htmloptionelement.rs | |
parent | 545e9884a6907f04814c6008699c2bbcfef22edd (diff) | |
parent | 8aec08074c1535d2c8c9d3bb2208c6f83b82114e (diff) | |
download | servo-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.rs | 4 |
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) } |