mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove HTMLStyleElement::line_number (#36507)
This field is unused. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
85e4a2b5c7
commit
ca5e0c160e
1 changed files with 0 additions and 2 deletions
|
@ -44,7 +44,6 @@ pub(crate) struct HTMLStyleElement {
|
||||||
in_stack_of_open_elements: Cell<bool>,
|
in_stack_of_open_elements: Cell<bool>,
|
||||||
pending_loads: Cell<u32>,
|
pending_loads: Cell<u32>,
|
||||||
any_failed_load: Cell<bool>,
|
any_failed_load: Cell<bool>,
|
||||||
line_number: u64,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl HTMLStyleElement {
|
impl HTMLStyleElement {
|
||||||
|
@ -62,7 +61,6 @@ impl HTMLStyleElement {
|
||||||
in_stack_of_open_elements: Cell::new(creator.is_parser_created()),
|
in_stack_of_open_elements: Cell::new(creator.is_parser_created()),
|
||||||
pending_loads: Cell::new(0),
|
pending_loads: Cell::new(0),
|
||||||
any_failed_load: Cell::new(false),
|
any_failed_load: Cell::new(false),
|
||||||
line_number: creator.return_line_number(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue