From c5f2196f46882e9ae63058883ab386bc6fd64215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 29 Nov 2021 15:18:13 +0000 Subject: [PATCH] Bug 1743377 - Prefer using to typedef in imgLoader. r=tnikkel Differential Revision: https://phabricator.services.mozilla.com/D132347 --- image/imgLoader.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/image/imgLoader.h b/image/imgLoader.h index 1affe60decb3..06989fa64748 100644 --- a/image/imgLoader.h +++ b/image/imgLoader.h @@ -188,11 +188,11 @@ class imgLoader final : public imgILoader, virtual ~imgLoader(); public: - typedef mozilla::image::ImageCacheKey ImageCacheKey; - typedef nsRefPtrHashtable, imgCacheEntry> - imgCacheTable; - typedef nsTHashSet imgSet; - typedef mozilla::Mutex Mutex; + using ImageCacheKey = mozilla::image::ImageCacheKey; + using imgCacheTable = + nsRefPtrHashtable, imgCacheEntry>; + using imgSet = nsTHashSet; + using Mutex = mozilla::Mutex; NS_DECL_ISUPPORTS NS_DECL_IMGILOADER