Skip to content

Commit

Permalink
Bug 1743377 - Prefer using to typedef in imgLoader. r=tnikkel
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Nov 29, 2021
1 parent b637c6d commit c5f2196
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions image/imgLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5f2196

Please sign in to comment.