don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup

RESOLVED FIXED in Firefox 48

Status

()

Core
General
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla48
Points:
---

Firefox Tracking Flags

(firefox48 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
We can make the non-virtual overload of IsDomainWhitelisted take an
nsACString instead of an nsAutoCString and avoid some unnecessary
copying.
(Assignee)

Comment 1

2 years ago
Created attachment 8736785 [details] [diff] [review]
don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup
Attachment #8736785 - Flags: review?(bugs)

Updated

2 years ago
Attachment #8736785 - Flags: review?(bugs) → review+

Comment 3

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/df803eb33993
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox48: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.