Bug 1449827 - Use nsStaticAtom* const instead of nsStaticAtom** const in nsTreeSanitizer. r=hsivonen

MozReview-Commit-ID: 4tk4BHbEpdt

--HG--
extra : rebase_source : fa8a152364fb343880f912afed2fa34aaa27aa89
This commit is contained in:
Nicholas Nethercote 2018-03-29 15:51:39 +11:00
parent 2d430a86cc
commit 1b4b4f5a56
2 changed files with 822 additions and 822 deletions

File diff suppressed because it is too large Load Diff

View File

@ -117,7 +117,7 @@ class MOZ_STACK_CLASS nsTreeSanitizer {
* @param aLocalName the name to search on the list
* @return true if aLocalName is on the aURLs list and false otherwise
*/
bool IsURL(nsStaticAtom** const* aURLs, nsAtom* aLocalName);
bool IsURL(nsStaticAtom* const* aURLs, nsAtom* aLocalName);
/**
* Removes dangerous attributes from the element. If the style attribute
@ -135,7 +135,7 @@ class MOZ_STACK_CLASS nsTreeSanitizer {
*/
void SanitizeAttributes(mozilla::dom::Element* aElement,
nsTHashtable<nsRefPtrHashKey<nsAtom>>* aAllowed,
nsStaticAtom** const* aURLs,
nsStaticAtom* const* aURLs,
bool aAllowXLink,
bool aAllowStyle,
bool aAllowDangerousSrc);