Closed Bug 1348398 Opened 7 years ago Closed 7 years ago

Remove unused Gecko_Truncate[C]String once it is no longer used by stylo

Categories

(Core :: XPCOM, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(2 files)

In bug 1347224 the truncate method in the nsstring rust bindings was changed to call SetLength(0) directly. We should make sure to remove the Truncate bindings when they are no longer needed, which we can't do at the same time because of stylo using a copy of nsstring internally (nsstring_vendor).
Priority: -- → P5
Comment on attachment 8848631 [details] [diff] [review]
Remove Gecko_Truncate[C]String as it is no longer used

Review of attachment 8848631 [details] [diff] [review]:
-----------------------------------------------------------------

See comments on other bug adding these methods back.  Curious what you think, but will r+ this just so we can move forward with whatever we decide.
Attachment #8848631 - Flags: review?(nfroyd) → review+
Hey emilio - bug 1347224 has landed in central - can you update nsstring_vendor?
Flags: needinfo?(emilio+bugs)
https://github.com/servo/servo/pull/16056.

Had to add the attached patch so bindings built though.
Flags: needinfo?(emilio+bugs)
Comment on attachment 8849489 [details]
Bug 1348398: Keep deriving debug in StringRepr.

https://reviewboard.mozilla.org/r/122272/#review124438

Oops, not sure how that got removed :S.

Thanks :)
Attachment #8849489 - Flags: review?(michael) → review+
Pushed by michael@thelayzells.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3dd028775ffa
Remove Gecko_Truncate[C]String as it is no longer used, r=froydnj
https://hg.mozilla.org/integration/mozilla-inbound/rev/aae2e9c3d129
Keep deriving debug in StringRepr.
https://hg.mozilla.org/mozilla-central/rev/3dd028775ffa
https://hg.mozilla.org/mozilla-central/rev/aae2e9c3d129
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: