Skip to content

Commit

Permalink
Change to static
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Sep 20, 2022
1 parent e707b7f commit 1d49ce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shell/browser/electron_browser_main_parts.h
Expand Up @@ -130,7 +130,7 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
void FreeAppDelegate();
void RegisterURLHandler();
void InitializeMainNib();
std::string GetCurrentSystemLocale();
static std::string GetCurrentSystemLocale();
#endif

#if BUILDFLAG(IS_MAC)
Expand Down
2 changes: 1 addition & 1 deletion shell/browser/electron_browser_main_parts_mac.mm
Expand Up @@ -76,7 +76,7 @@
[mainNib release];
}

std::string ElectronBrowserMainParts::GetCurrentSystemLocale() {
static std::string ElectronBrowserMainParts::GetCurrentSystemLocale() {
NSString* systemLocaleIdentifier =
[[NSLocale currentLocale] localeIdentifier];

Expand Down

0 comments on commit 1d49ce6

Please sign in to comment.