Bug 1723050 - Part 14: Replace typedef by using in dom/html/ r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D121312
This commit is contained in:
Kagami Sascha Rosylight
2021-08-09 13:37:27 +00:00
parent 6db90c1374
commit e826dafcc0
4 changed files with 18 additions and 18 deletions

View File

@@ -3969,7 +3969,7 @@ class MediaElementSetForURI : public nsURIHashKey {
nsTArray<HTMLMediaElement*> mElements;
};
typedef nsTHashtable<MediaElementSetForURI> MediaElementURITable;
using MediaElementURITable = nsTHashtable<MediaElementSetForURI>;
// Elements in this table must have non-null mDecoder and mLoadingSrc, and those
// can't change while the element is in the table. The table is keyed by
// the element's mLoadingSrc. Each entry has a list of all elements with the