Closed
Bug 280921
Opened 20 years ago
Closed 20 years ago
Kill nsCheapStringBufferUtils
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: sicking, Assigned: sicking)
Details
Attachments
(1 file)
|
6.89 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
With darins recent changes that allows us to use the nsStringBuffer class, most functions in nsCheapStringBufferUtils are just one or twoliners calling methods in that class. In fact, after expanding such methods into nsAttrValue the only function remaining is CopyToBuffer which is called at exactly one place. So it felt a bit silly to keep even that one around. The only functional impact of this change should be one refcount less when cloning an nsAttrValue containing a string.
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•20 years ago
|
||
Alternativly we could create a more generic helperclass (one with a better syntax too) that lives in xpcom/string
Attachment #173258 -
Flags: superreview?(darin)
Attachment #173258 -
Flags: review?(darin)
Updated•20 years ago
|
Attachment #173258 -
Flags: superreview?(darin)
Attachment #173258 -
Flags: superreview+
Attachment #173258 -
Flags: review?(darin)
Attachment #173258 -
Flags: review+
| Assignee | ||
Comment 2•20 years ago
|
||
checked in. Thanks for review
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•