Fix invoking ContentMain.
This commit is contained in:
parent
e0f263950e
commit
d5b2a5af26
2 changed files with 13 additions and 3 deletions
|
@ -10,6 +10,9 @@
|
|||
#if defined(OS_MACOSX)
|
||||
int AtomMain(int argc, const char* argv[]) {
|
||||
atom::AtomMainDelegate delegate;
|
||||
return content::ContentMain(content::ContentMainParams(&delegate));
|
||||
content::ContentMainParams params(&delegate);
|
||||
params.argc = argc;
|
||||
params.argv = argv;
|
||||
return content::ContentMain(params);
|
||||
}
|
||||
#endif // OS_MACOSX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue