Closed Bug 1261123 Opened 8 years ago Closed 8 years ago

don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

We can make the non-virtual overload of IsDomainWhitelisted take an
nsACString instead of an nsAutoCString and avoid some unnecessary
copying.
Attachment #8736785 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/df803eb33993
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.