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:
Jacob Holzinger
2012-03-08 18:22:57 -08:00
parent eb150cebd1
commit bfaddb970e
27 changed files with 55 additions and 34 deletions

View File

@@ -66,5 +66,5 @@ static const nsStaticAtom Html5Atoms_info[] = {
void nsHtml5Atoms::AddRefAtoms()
{
NS_RegisterStaticAtoms(Html5Atoms_info, ArrayLength(Html5Atoms_info));
NS_RegisterStaticAtoms(Html5Atoms_info);
}