Closed Bug 1261123 Opened 9 years ago Closed 9 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+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: