forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1575343, part 1 - Avoid a gratuitous string copy by calling the n…
…sAString overload of GetCallingLocation. r=smaug The nsAString overload of GetCallingLocation directly converts the original source file name string into an nsAString. A number of callers that want the source file name in an nsAString are calling the nsACString overload of GetCallingLocation, then calling NS_ConvertUTF8toUTF16. This results in an extra intermediate copy of the original string data. Differential Revision: https://phabricator.services.mozilla.com/D42727 --HG-- extra : moz-landing-system : lando
- Loading branch information
1 parent
d6e4ed5
commit 62bd52a
Showing
5 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters