Bug 1723050 - Part 4: Replace typedef by using in dom/broadcastchannel/ r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D121296
This commit is contained in:
Kagami Sascha Rosylight 2021-08-05 12:18:13 +00:00
parent 3b0b1c9a9a
commit 9deff594c6
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class WorkerRef;
class BroadcastChannel final : public DOMEventTargetHelper {
friend class BroadcastChannelChild;
typedef mozilla::ipc::PrincipalInfo PrincipalInfo;
using PrincipalInfo = mozilla::ipc::PrincipalInfo;
public:
NS_DECL_ISUPPORTS_INHERITED

View File

@ -23,7 +23,7 @@ class BroadcastChannelService;
class BroadcastChannelParent final : public PBroadcastChannelParent {
friend class mozilla::ipc::BackgroundParentImpl;
typedef mozilla::ipc::PrincipalInfo PrincipalInfo;
using PrincipalInfo = mozilla::ipc::PrincipalInfo;
private:
explicit BroadcastChannelParent(const nsAString& aOriginChannelKey);