Remove unused RawLayoutNodeHelpers::type_id_for_layout.

This commit is contained in:
Ms2ger 2015-07-23 19:54:12 +02:00
parent c24d37dfcc
commit 32ee62b4c8

View file

@ -1185,7 +1185,6 @@ pub trait RawLayoutNodeHelpers {
unsafe fn get_disabled_state_for_layout(&self) -> bool; unsafe fn get_disabled_state_for_layout(&self) -> bool;
#[allow(unsafe_code)] #[allow(unsafe_code)]
unsafe fn get_enabled_state_for_layout(&self) -> bool; unsafe fn get_enabled_state_for_layout(&self) -> bool;
fn type_id_for_layout(&self) -> NodeTypeId;
} }
impl RawLayoutNodeHelpers for Node { impl RawLayoutNodeHelpers for Node {
@ -1209,10 +1208,6 @@ impl RawLayoutNodeHelpers for Node {
unsafe fn get_enabled_state_for_layout(&self) -> bool { unsafe fn get_enabled_state_for_layout(&self) -> bool {
self.flags.get().contains(IN_ENABLED_STATE) self.flags.get().contains(IN_ENABLED_STATE)
} }
#[inline]
fn type_id_for_layout(&self) -> NodeTypeId {
self.type_id
}
} }