Closed Bug 1617990 Opened 5 years ago Closed 5 years ago

Tweak a few users of nsTSubString::Adopt

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(2 files)

No description provided.

NS_Convert* has small string optimizations and doesn't require an extra strlen()
call from Adopt().

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7446c11d054 Remove three silly uses of nsACString::Adopt in GTK widget code. r=froydnj https://hg.mozilla.org/integration/autoland/rev/b4bc76858d42 Remove a silly string copy in nsGlobalWindowOuter::Prompt. r=smaug
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: