fix: misc-use-internal-linkage warnings (#44872)
* refactor: fix misc-use-internal-linkage warnings: move impl functions into anonymous namespace so that they're not visible to other compilation units
This commit is contained in:
parent
5ca3f950e9
commit
a92b3944a1
9 changed files with 54 additions and 14 deletions
|
@ -44,6 +44,8 @@
|
|||
|
||||
namespace electron {
|
||||
|
||||
namespace {
|
||||
|
||||
base::IDMap<api::UtilityProcessWrapper*, base::ProcessId>&
|
||||
GetAllUtilityProcessWrappers() {
|
||||
static base::NoDestructor<
|
||||
|
@ -52,6 +54,8 @@ GetAllUtilityProcessWrappers() {
|
|||
return *s_all_utility_process_wrappers;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace api {
|
||||
|
||||
gin::WrapperInfo UtilityProcessWrapper::kWrapperInfo = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue