mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update source files for bracket style
This commit is contained in:
@@ -17,15 +17,17 @@ int main(int argc, char* argv[]) {
|
||||
#if defined(CEF_USE_SANDBOX)
|
||||
// Initialize the macOS sandbox for this helper process.
|
||||
CefScopedSandboxContext sandbox_context;
|
||||
if (!sandbox_context.Initialize(argc, argv))
|
||||
if (!sandbox_context.Initialize(argc, argv)) {
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Load the CEF framework library at runtime instead of linking directly
|
||||
// as required by the macOS sandbox implementation.
|
||||
CefScopedLibraryLoader library_loader;
|
||||
if (!library_loader.LoadInHelper())
|
||||
if (!library_loader.LoadInHelper()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Provide CEF with command-line arguments.
|
||||
CefMainArgs main_args(argc, argv);
|
||||
|
Reference in New Issue
Block a user