Fix compilation errors on Linux.
This commit is contained in:
parent
ad19381217
commit
436deddf68
4 changed files with 4 additions and 48 deletions
|
@ -98,7 +98,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {
|
|||
sandbox::SandboxInterfaceInfo sandbox_info = {0};
|
||||
content::InitializeSandboxInfo(&sandbox_info);
|
||||
atom::AtomMainDelegate delegate;
|
||||
return content::ContentMain(instance, &sandbox_info, &delegate);
|
||||
return content::ContentMain(content::ContentMainParams(&delegate));
|
||||
}
|
||||
|
||||
#elif defined(OS_LINUX) // defined(OS_WIN)
|
||||
|
@ -109,7 +109,7 @@ int main(int argc, const char* argv[]) {
|
|||
return node::Start(argc, const_cast<char**>(argv));
|
||||
|
||||
atom::AtomMainDelegate delegate;
|
||||
return content::ContentMain(argc, argv, &delegate);
|
||||
return content::ContentMain(content::ContentMainParams(&delegate));
|
||||
}
|
||||
|
||||
#else // defined(OS_LINUX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue