Page MenuHomePhabricator

Bug 1501116 - Part 6: Use alias for StylePathCommand.
ClosedPublic

Authored by boris on Oct 30 2018, 12:56 AM.

Details

Summary

So we could drop transmute in svg_path related functions.

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

boris created this revision.Oct 30 2018, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 30 2018, 12:56 AM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".Oct 30 2018, 12:56 AM
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
boris requested review of this revision.Oct 30 2018, 12:56 AM
boris updated this revision to Diff 29821.Oct 30 2018, 9:45 PM

Revision updated.

boris retitled this revision from Bug 1501116 - Part 1: Map StylePathCommand to specified::PathCommand to Bug 1501116 - Part 6: Use alias for StylePathCommand..Oct 30 2018, 9:45 PM
boris edited the summary of this revision. (Show Details)
boris updated this revision to Diff 29837.Oct 30 2018, 9:56 PM

Revision updated.

emilio accepted this revision.Oct 30 2018, 10:10 PM
emilio added inline comments.
servo/components/style/gecko/conversions.rs
708

nit: Instead of map(|&v| v), I think cloned() is a bit nicer, but not a big deal.

servo/components/style/properties/gecko.mako.rs
4950

same here.

This revision is now accepted and ready to land.Oct 30 2018, 10:10 PM
boris updated this revision to Diff 29939.Oct 31 2018, 6:20 AM
boris marked 2 inline comments as done.

Revision updated.

This revision was automatically updated to reflect the committed changes.