diff options
-rw-r--r-- | components/script/dom/node.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index ab48fcd1e35..81b2a8bbae4 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1185,7 +1185,6 @@ pub trait RawLayoutNodeHelpers { unsafe fn get_disabled_state_for_layout(&self) -> bool; #[allow(unsafe_code)] unsafe fn get_enabled_state_for_layout(&self) -> bool; - fn type_id_for_layout(&self) -> NodeTypeId; } impl RawLayoutNodeHelpers for Node { @@ -1209,10 +1208,6 @@ impl RawLayoutNodeHelpers for Node { unsafe fn get_enabled_state_for_layout(&self) -> bool { self.flags.get().contains(IN_ENABLED_STATE) } - #[inline] - fn type_id_for_layout(&self) -> NodeTypeId { - self.type_id - } } |