diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-08-28 09:52:53 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-08-28 10:30:42 -0400 |
commit | 5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc (patch) | |
tree | 98d66a744cd8fcde27e4e7670ba4db5d65b286bd /components/script/dom/htmlelement.rs | |
parent | 6431e8da43817e8a6b1e4757afbcf45c1a629707 (diff) | |
download | servo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.tar.gz servo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.zip |
Merge adjacent identical `impl` sections
Prior to #7416 and #7401, many of these `impl` sections were not
identical
Diffstat (limited to 'components/script/dom/htmlelement.rs')
-rw-r--r-- | components/script/dom/htmlelement.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs index e7c9a37887b..0b9ea1e6b8c 100644 --- a/components/script/dom/htmlelement.rs +++ b/components/script/dom/htmlelement.rs @@ -77,10 +77,7 @@ impl HTMLElement { let element = HTMLElement::new_inherited(HTMLElementTypeId::HTMLElement, localName, prefix, document); Node::reflect_node(box element, document, HTMLElementBinding::Wrap) } -} - -impl HTMLElement { fn is_body_or_frameset(&self) -> bool { let eventtarget = EventTargetCast::from_ref(self); eventtarget.is_htmlbodyelement() || eventtarget.is_htmlframesetelement() |