mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Remove get_font_arc in favor of clone_font.
Since they do the same.
This commit is contained in:
parent
b49eb6f566
commit
fa26e87030
4 changed files with 5 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue