diff options
author | Michael Partheil <michael.partheil@gmail.com> | 2017-07-18 18:48:57 +0200 |
---|---|---|
committer | Michael Partheil <michael.partheil@gmail.com> | 2017-07-19 09:29:05 +0200 |
commit | b07ebbae6b92bc510a6ddbf24676498f86bf5a8a (patch) | |
tree | d2eab40052ec2062ae19bd4163feec66f43aa112 /components/layout/text.rs | |
parent | d403f404382c66485d9744787ce021556be59d6c (diff) | |
download | servo-b07ebbae6b92bc510a6ddbf24676498f86bf5a8a.tar.gz servo-b07ebbae6b92bc510a6ddbf24676498f86bf5a8a.zip |
Replace all uses of the style::stylearc alias with servo_arc.
The alias is left there temporarilly and will be removed completely in a later commit where
also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still
use the old alias).
Diffstat (limited to 'components/layout/text.rs')
-rw-r--r-- | components/layout/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/text.rs b/components/layout/text.rs index ab2f941fc03..6e1c7b2a43a 100644 --- a/components/layout/text.rs +++ b/components/layout/text.rs @@ -436,7 +436,7 @@ fn bounding_box_for_run_metrics(metrics: &RunMetrics, writing_mode: WritingMode) /// /// `#[inline]` because often the caller only needs a few fields from the font metrics. #[inline] -pub fn font_metrics_for_style(font_context: &mut FontContext, font_style: ::StyleArc<style_structs::Font>) +pub fn font_metrics_for_style(font_context: &mut FontContext, font_style: ::ServoArc<style_structs::Font>) -> FontMetrics { let fontgroup = font_context.layout_font_group_for_style(font_style); // FIXME(https://github.com/rust-lang/rust/issues/23338) |