fix: modernize-use-using clang-tidy warnings (32-x-y backport) (#44847)

fix: modernize-use-using clang-tidy warnings (#44806)
This commit is contained in:
Charles Kerr 2024-11-26 22:10:20 -06:00 committed by GitHub
parent e9da87822f
commit 7a3182a139
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 44 additions and 47 deletions

View file

@ -55,7 +55,7 @@ struct Converter<blink::mojom::PageVisibilityState> {
namespace electron::api {
typedef std::unordered_map<int, WebFrameMain*> WebFrameMainIdMap;
using WebFrameMainIdMap = std::unordered_map<int, WebFrameMain*>;
WebFrameMainIdMap& GetWebFrameMainMap() {
static base::NoDestructor<WebFrameMainIdMap> instance;