Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad

This commit is contained in:
roc+@cs.cmu.edu 2007-07-04 20:05:06 -07:00
parent 1e18e91cd6
commit e58660ef2b

View File

@ -48,7 +48,7 @@ public:
mCache.Init(100);
}
~TextRunWordCache() {
NS_ASSERTION(mCache.Count() == 0, "Textrun cache not empty!");
NS_WARN_IF_FALSE(mCache.Count() == 0, "Textrun cache not empty!");
}
/**