diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-27 22:12:45 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-27 22:12:45 -0700 |
commit | 56d1b16d1b3a18d5ffa1d9c32562d3b209851711 (patch) | |
tree | cfcccc6b3f2e40a85f03a23c690b6a62612768a7 /components/script/dom/htmltextareaelement.rs | |
parent | dbb10747828b08f5dc9bcaea251e1f2d16f554fd (diff) | |
parent | 50c246bdc525afd26ff1864001eaf243db834192 (diff) | |
download | servo-56d1b16d1b3a18d5ffa1d9c32562d3b209851711.tar.gz servo-56d1b16d1b3a18d5ffa1d9c32562d3b209851711.zip |
auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector.
A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
Diffstat (limited to 'components/script/dom/htmltextareaelement.rs')
-rw-r--r-- | components/script/dom/htmltextareaelement.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs index e0b973b3aa8..88fd31fdeaa 100644 --- a/components/script/dom/htmltextareaelement.rs +++ b/components/script/dom/htmltextareaelement.rs @@ -13,7 +13,6 @@ use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, NodeCas use dom::bindings::codegen::InheritTypes::{HTMLTextAreaElementDerived, HTMLFieldSetElementDerived}; use dom::bindings::codegen::InheritTypes::{KeyboardEventCast, TextDerived}; use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable}; -use dom::bindings::utils::{Reflectable, Reflector}; use dom::document::{Document, DocumentHelpers}; use dom::element::{Element, AttributeHandlers, ElementTypeId}; use dom::event::Event; @@ -330,12 +329,6 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLTextAreaElement> { } } -impl Reflectable for HTMLTextAreaElement { - fn reflector<'a>(&'a self) -> &'a Reflector { - self.htmlelement.reflector() - } -} - impl<'a> FormControl<'a> for JSRef<'a, HTMLTextAreaElement> { fn to_element(self) -> JSRef<'a, Element> { ElementCast::from_ref(self) |