Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
This commit is contained in:
@@ -66,5 +66,5 @@ static const nsStaticAtom Html5Atoms_info[] = {
|
||||
|
||||
void nsHtml5Atoms::AddRefAtoms()
|
||||
{
|
||||
NS_RegisterStaticAtoms(Html5Atoms_info, ArrayLength(Html5Atoms_info));
|
||||
NS_RegisterStaticAtoms(Html5Atoms_info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user