aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-28 09:52:53 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-28 10:30:42 -0400
commit5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc (patch)
tree98d66a744cd8fcde27e4e7670ba4db5d65b286bd /components/script/dom/htmliframeelement.rs
parent6431e8da43817e8a6b1e4757afbcf45c1a629707 (diff)
downloadservo-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/htmliframeelement.rs')
-rw-r--r--components/script/dom/htmliframeelement.rs4
1 files changed, 0 insertions, 4 deletions
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<DOMString>,
document: &Document) -> HTMLIFrameElement {