From 5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Fri, 28 Aug 2015 09:52:53 -0400 Subject: Merge adjacent identical `impl` sections Prior to #7416 and #7401, many of these `impl` sections were not identical --- components/script/dom/htmliframeelement.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'components/script/dom/htmliframeelement.rs') diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 4732037cbe4..99eb73f7367 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -159,9 +159,7 @@ impl HTMLIFrameElement { pub fn update_subpage_id(&self, new_subpage_id: SubpageId) { self.subpage_id.set(Some(new_subpage_id)); } -} -impl HTMLIFrameElement { #[allow(unsafe_code)] pub fn get_width(&self) -> LengthOrPercentageOrAuto { unsafe { @@ -183,9 +181,7 @@ impl HTMLIFrameElement { }).unwrap_or(LengthOrPercentageOrAuto::Auto) } } -} -impl HTMLIFrameElement { fn new_inherited(localName: DOMString, prefix: Option, document: &Document) -> HTMLIFrameElement { -- cgit v1.2.3