Open Bug 1692008 Opened 5 years ago Updated 4 years ago

Clean up signatures of IPC Recv methods receiving const references for primitive types instead of just getting the value

Categories

(Core :: IPC, task)

task

Tracking

()

Tracking Status
firefox87 --- affected

People

(Reporter: Gijs, Unassigned)

References

Details

See: https://phabricator.services.mozilla.com/D103967#inline-584985

https://searchfox.org/mozilla-central/search?q=const+bool%26&path=dom%2Fipc&case=false&regexp=false

is a very rudimentary query to show there are quite a few of these for bool; there might be more for int*_t, uint*_t etc.

I don't know if we have an eslint-like tool to automatically refactor C++ like this, but if so this would be a good place to use it, as writing the patch manually would be tedious.

You need to log in before you can comment on or make changes to this bug.