layout: Remove get_font_arc in favor of clone_font.

Since they do the same.
This commit is contained in:
Emilio Cobos Álvarez 2016-12-31 03:17:41 +01:00
parent b49eb6f566
commit fa26e87030
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 5 additions and 10 deletions

View file

@ -1322,11 +1322,6 @@ impl ComputedValues {
))
}
#[inline]
pub fn get_font_arc(&self) -> Arc<style_structs::Font> {
self.font.clone()
}
// http://dev.w3.org/csswg/css-transforms/#grouping-property-values
pub fn get_used_transform_style(&self) -> computed_values::transform_style::T {
use computed_values::mix_blend_mode;