mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
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:
parent
2d430a86cc
commit
1b4b4f5a56
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user