зеркало из https://github.com/mozilla/gecko-dev.git
Bug 136932 TestCSSPropertyLookup is broken
r=karnaze rs=darin
This commit is contained in:
Родитель
d61dfc4044
Коммит
4b53118ff6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче