Closed Bug 1706894 Opened 4 years ago Closed 4 years ago

Avoid unnecessary copies in `mozInlineSpellWordUtil`

Categories

(Core :: Spelling checker, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox90 --- fixed

People

(Reporter: mbrodesser, Assigned: mbrodesser)

References

Details

Attachments

(3 files)

No description provided.
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f1a803302bf part 1) Use `std::move` in `DOMTextMapping`'s constructor. r=smaug https://hg.mozilla.org/integration/autoland/rev/680b3d4a404a part 2) In `NodeOffsetRange` use `std::move` and return `const` references instead of copies. r=smaug https://hg.mozilla.org/integration/autoland/rev/e24868ec9d87 part 3) Change `MapDOMPositionToSoftTextOffset`'s argument to `const` reference. r=smaug
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: