Page MenuHomePhabricator

Bug 1831539 - Remove HasBoxFFI. r=#style,#layout
ClosedPublic

Authored by emilio on May 5 2023, 12:18 PM.
Referenced Files
Unknown Object (File)
Oct 15 2025, 7:37 AM
Unknown Object (File)
Oct 15 2025, 12:01 AM
Unknown Object (File)
Oct 14 2025, 4:27 AM
Unknown Object (File)
Jul 18 2025, 2:35 PM
Unknown Object (File)
May 27 2025, 7:13 AM
Unknown Object (File)
May 12 2025, 5:27 AM
Unknown Object (File)
Mar 27 2025, 12:21 AM
Unknown Object (File)
Jan 11 2025, 1:14 AM
Subscribers

Details

Reviewers
boris
Group Reviewers
Restricted Project
layout-reviewers
Commits
rMOZILLACENTRALa26247c91d0a: Bug 1831539 - Remove HasBoxFFI. r=boris
Bugzilla Bug ID
1831539
Summary

HasBoxFFI and HasArcFFI aren't great, see bug 1831242 as for examples of
why.

HasArcFFI requires a bit more care, but HasBoxFFI doesn't give us much
benefit. Instead use the same type in the FFI boundary.

Event Timeline

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: secure-revision.

If you split this in two parts, one that keeps the current RawServo* names, and one that changes them, wouldn't this make that first part easier to uplift to esr?

If you split this in two parts, one that keeps the current RawServo* names, and one that changes them, wouldn't this make that first part easier to uplift to esr?

It's not that easy, because the names are generated by cbindgen, so I'd have to change all the forward declarations anyways...

boris added inline comments.
dom/base/nsINode.cpp
3001–3003

nitpick: Could we use something like MakeUnique()?

This revision is now accepted and ready to land.May 8 2023, 11:53 PM
emilio added inline comments.
dom/base/nsINode.cpp
3001–3003

Not sure how? That'd call operator new etc...

emilio marked an inline comment as done.

use wrapunique