mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Merge adjacent identical impl
sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
This commit is contained in:
parent
6431e8da43
commit
5ccb0d43ef
16 changed files with 0 additions and 52 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue