From ca5e0c160ec4560e7a9f6fbed9c035c9ef9af751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=BClker?= Date: Mon, 14 Apr 2025 06:10:06 +0200 Subject: [PATCH] Remove HTMLStyleElement::line_number (#36507) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This field is unused. Signed-off-by: Simon Wülker --- components/script/dom/htmlstyleelement.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/script/dom/htmlstyleelement.rs b/components/script/dom/htmlstyleelement.rs index 2e26803be96..dcf15060776 100644 --- a/components/script/dom/htmlstyleelement.rs +++ b/components/script/dom/htmlstyleelement.rs @@ -44,7 +44,6 @@ pub(crate) struct HTMLStyleElement { in_stack_of_open_elements: Cell, pending_loads: Cell, any_failed_load: Cell, - line_number: u64, } impl HTMLStyleElement { @@ -62,7 +61,6 @@ impl HTMLStyleElement { in_stack_of_open_elements: Cell::new(creator.is_parser_created()), pending_loads: Cell::new(0), any_failed_load: Cell::new(false), - line_number: creator.return_line_number(), } }