mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 997963, part 9 - Make bundleCacheEntry_t FINAL, have COUNT_CTOR. r=ehsan
This commit is contained in:
parent
c669a16e2d
commit
b19fcf6669
@ -472,9 +472,19 @@ nsresult nsExtensibleStringBundle::GetSimpleEnumeration(nsISimpleEnumerator ** a
|
||||
|
||||
#define MAX_CACHED_BUNDLES 16
|
||||
|
||||
struct bundleCacheEntry_t : public LinkedListElement<bundleCacheEntry_t> {
|
||||
struct bundleCacheEntry_t MOZ_FINAL : public LinkedListElement<bundleCacheEntry_t> {
|
||||
nsAutoPtr<nsCStringKey> mHashKey;
|
||||
nsCOMPtr<nsIStringBundle> mBundle;
|
||||
|
||||
bundleCacheEntry_t()
|
||||
{
|
||||
MOZ_COUNT_CTOR(bundleCacheEntry_t);
|
||||
}
|
||||
|
||||
~bundleCacheEntry_t()
|
||||
{
|
||||
MOZ_COUNT_DTOR(bundleCacheEntry_t);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user