Bug 136932 TestCSSPropertyLookup is broken

r=karnaze rs=darin
This commit is contained in:
timeless%mac.com 2002-04-17 03:42:29 +00:00
Родитель d61dfc4044
Коммит 4b53118ff6
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -54,6 +54,9 @@ int TestProps() {
nsCSSProperty id; nsCSSProperty id;
nsCSSProperty index; nsCSSProperty index;
// Everything appears to assert if we don't do this first...
nsCSSProps::AddRefTable();
// First make sure we can find all of the tags that are supposed to // First make sure we can find all of the tags that are supposed to
// be in the table. Futz with the case to make sure any case will // be in the table. Futz with the case to make sure any case will
// work // work
@ -102,6 +105,7 @@ int TestProps() {
} }
} }
nsCSSProps::ReleaseTable();
return rv; return rv;
} }