aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbuttonelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-12-27 22:12:45 -0700
committerbors-servo <metajack+bors@gmail.com>2014-12-27 22:12:45 -0700
commit56d1b16d1b3a18d5ffa1d9c32562d3b209851711 (patch)
treecfcccc6b3f2e40a85f03a23c690b6a62612768a7 /components/script/dom/htmlbuttonelement.rs
parentdbb10747828b08f5dc9bcaea251e1f2d16f554fd (diff)
parent50c246bdc525afd26ff1864001eaf243db834192 (diff)
downloadservo-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/htmlbuttonelement.rs')
-rw-r--r--components/script/dom/htmlbuttonelement.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index 288379a5533..5c60e79455d 100644
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -9,7 +9,6 @@ use dom::bindings::codegen::Bindings::HTMLButtonElementBinding::HTMLButtonElemen
use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, NodeCast};
use dom::bindings::codegen::InheritTypes::{HTMLButtonElementDerived, HTMLFieldSetElementDerived};
use dom::bindings::js::{JSRef, Temporary};
-use dom::bindings::utils::{Reflectable, Reflector};
use dom::document::Document;
use dom::element::{AttributeHandlers, Element, ElementTypeId};
use dom::eventtarget::{EventTarget, EventTargetTypeId};
@@ -138,8 +137,3 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLButtonElement> {
}
}
-impl Reflectable for HTMLButtonElement {
- fn reflector<'a>(&'a self) -> &'a Reflector {
- self.htmlelement.reflector()
- }
-}