We can make the non-virtual overload of IsDomainWhitelisted take an nsACString instead of an nsAutoCString and avoid some unnecessary copying.
Created attachment 8736785 [details] [diff] [review] don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup
Attachment #8736785 - Flags: review?(bugs)
Attachment #8736785 - Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Last Resolved: 3 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.