Page MenuHomePhabricator

Bug 1604062 - Use less Au in font code. r=heycam
ClosedPublic

Authored by emilio on Dec 15 2019, 7:46 PM.

Details

Summary

Font code is the only thing that was using Au in the style system without
interfacing with Gecko, and there was no real reason for it to do so.

This slightly simplifies the code.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emilio created this revision.Dec 15 2019, 7:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2019, 7:46 PM
phab-bot requested review of this revision.Dec 15 2019, 7:46 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
emilio added reviewers: boris, Restricted Project.Dec 15 2019, 9:11 PM
emilio updated this revision to Diff 208054.Dec 15 2019, 9:33 PM

Servo build fixes

boris accepted this revision.EditedDec 16 2019, 12:59 PM
boris removed a reviewer: Restricted Project.

Made a quick review and it seems we have less conversion after replacing Au with Length (maybe).

This revision is now accepted and ready to land.Dec 16 2019, 12:59 PM

Made a quick review and it seems we have less conversion after replacing Au with Length (maybe).

Yeah, that was also part of the intention.