Bug 1743377 - Prefer using to typedef in imgLoader. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D132347
This commit is contained in:
Emilio Cobos Álvarez 2021-11-29 15:18:13 +00:00
parent b637c6d142
commit c5f2196f46

View File

@ -188,11 +188,11 @@ class imgLoader final : public imgILoader,
virtual ~imgLoader();
public:
typedef mozilla::image::ImageCacheKey ImageCacheKey;
typedef nsRefPtrHashtable<nsGenericHashKey<ImageCacheKey>, imgCacheEntry>
imgCacheTable;
typedef nsTHashSet<imgRequest*> imgSet;
typedef mozilla::Mutex Mutex;
using ImageCacheKey = mozilla::image::ImageCacheKey;
using imgCacheTable =
nsRefPtrHashtable<nsGenericHashKey<ImageCacheKey>, imgCacheEntry>;
using imgSet = nsTHashSet<imgRequest*>;
using Mutex = mozilla::Mutex;
NS_DECL_ISUPPORTS
NS_DECL_IMGILOADER