mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Replace Arc<Box<TextRun>> with Arc<TextRun>
This commit is contained in:
parent
afe3d7e747
commit
8a09f738d4
5 changed files with 10 additions and 10 deletions
|
@ -1264,7 +1264,7 @@ impl ToRadiiPx for BorderRadii<Au> {
|
|||
trait ScaledFontExtensionMethods {
|
||||
fn draw_text(&self,
|
||||
draw_target: &DrawTarget,
|
||||
run: &Box<TextRun>,
|
||||
run: &TextRun,
|
||||
range: &Range<CharIndex>,
|
||||
baseline_origin: Point2D<Au>,
|
||||
color: Color,
|
||||
|
@ -1274,7 +1274,7 @@ trait ScaledFontExtensionMethods {
|
|||
impl ScaledFontExtensionMethods for ScaledFont {
|
||||
fn draw_text(&self,
|
||||
draw_target: &DrawTarget,
|
||||
run: &Box<TextRun>,
|
||||
run: &TextRun,
|
||||
range: &Range<CharIndex>,
|
||||
baseline_origin: Point2D<Au>,
|
||||
color: Color,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue