Closed Bug 1473340 Opened 6 years ago Closed 6 years ago

Use nsA[C]String.bulk_write() in encoding_glue

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(1 file)

Bug 1402247 introduces nsA[C]String.bulk_write() to the Rust API for XPCOM strings. encoding_glue should use it instead of trying to round up allocation sizes on its own as seen it:
https://searchfox.org/mozilla-central/source/intl/encoding_glue/src/lib.rs#218
Priority: -- → P3
Somehow Phabricator isn't syncing this link here:
https://phabricator.services.mozilla.com/D3407
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
MozReview-Commit-ID: 7CpUiZFBpEn
Comment on attachment 9001236 [details]
Bug 1473340 - Use bulk_write() in encoding_glue.

:Nika Layzell (PTO/OOT -> Aug. 20) has approved the revision.
Attachment #9001236 - Flags: review+
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1eca7377c4e
Use bulk_write() in encoding_glue. r=nika
https://hg.mozilla.org/mozilla-central/rev/e1eca7377c4e
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: