style: Unify a bit Servo and Gecko code in properties.mako.rs.

Mostly removing #[cfg] statements, so npotb.
This commit is contained in:
Emilio Cobos Álvarez 2019-04-16 17:34:50 +02:00
parent 09d497db3d
commit 477bda81d3
2 changed files with 2 additions and 7 deletions

View file

@ -1104,9 +1104,6 @@ impl ${style_struct.gecko_struct_name} {
}
result
}
pub fn get_gecko(&self) -> &${style_struct.gecko_ffi_name} {
&self.gecko
}
}
impl Drop for ${style_struct.gecko_struct_name} {
fn drop(&mut self) {