mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

This prevents copies and avoids the hack we have to avoid this, which right now is using nsDependent{C,}String. Non-virtual actors can still use `nsString` if they need to on the receiving end. Differential Revision: https://phabricator.services.mozilla.com/D152519