mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Merge adjacent identical impl sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user