chore: replace PreContentInitialization with PreCreateMainMessageLoop

This commit is contained in:
Samuel Attard 2018-10-25 17:02:58 +11:00 committed by deepak1556
parent 0adbcfd806
commit c4cb90ab85
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@ void AtomMainDelegate::PreSandboxStartup() {
#endif #endif
} }
void AtomMainDelegate::PreContentInitialization() { void AtomMainDelegate::PreCreateMainMessageLoop() {
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
RegisterAtomCrApp(); RegisterAtomCrApp();
#endif #endif

View file

@ -24,7 +24,7 @@ class AtomMainDelegate : public content::ContentMainDelegate {
// content::ContentMainDelegate: // content::ContentMainDelegate:
bool BasicStartupComplete(int* exit_code) override; bool BasicStartupComplete(int* exit_code) override;
void PreSandboxStartup() override; void PreSandboxStartup() override;
void PreContentInitialization() override; void PreCreateMainMessageLoop() override;
content::ContentBrowserClient* CreateContentBrowserClient() override; content::ContentBrowserClient* CreateContentBrowserClient() override;
content::ContentRendererClient* CreateContentRendererClient() override; content::ContentRendererClient* CreateContentRendererClient() override;
content::ContentUtilityClient* CreateContentUtilityClient() override; content::ContentUtilityClient* CreateContentUtilityClient() override;