Closed Bug 1435924 Opened 6 years ago Closed 6 years ago

Remove nsSubstring.h

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: erahm, Assigned: erahm)

Details

Attachments

(2 files)

nsSubstring.h just includes nsAString.h, we can remove it and use nsAString.h where appropriate.

:m_kato tried this 6 years ago in bug 737400 and it was rejected due to nsSubstring being "the preferred name for the base string class." I think the ship has sailed on that, we only us nsAC?String now for our interfaces and nothing is actually including 'nsSubstring.h' outside of xpcom/string.
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Attachment #8948595 - Flags: review?(dbaron)
Pushed by erahm@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e945fa4f3c1f
Part 1: Switch from nsSubstring.h to nsAString.h. r=dbaron
https://hg.mozilla.org/integration/mozilla-inbound/rev/352ef85382ea
Part 2: Remove nsSubstring.h. r=dbaron
https://hg.mozilla.org/mozilla-central/rev/e945fa4f3c1f
https://hg.mozilla.org/mozilla-central/rev/352ef85382ea
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: