mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
7aa3564a28
Much like the component manager, many of the strings that we use for category manager entries are statically allocated. There's no need to duplicate these strings. This patch changes the category manager APIs to take nsACStrings rather than raw pointers, and to pass literal nsCStrings when we know we have a literal string to begin with. When adding the category entry, it then skips making copies of any strings with the LITERAL flag. MozReview-Commit-ID: EJEcYSdNMWs *** amend-catman --HG-- extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9 extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37 |
||
---|---|---|
.. | ||
moz.build | ||
nsCURILoader.idl | ||
nsDocLoader.cpp | ||
nsDocLoader.h | ||
nsIContentHandler.idl | ||
nsIDocumentLoader.idl | ||
nsITransfer.idl | ||
nsIURIContentListener.idl | ||
nsIURILoader.idl | ||
nsIWebProgress.idl | ||
nsIWebProgressListener2.idl | ||
nsIWebProgressListener.idl | ||
nsURILoader.cpp | ||
nsURILoader.h |