Commit 1aea3a06 authored by Marshall Greenblatt's avatar Marshall Greenblatt

Linux/Mac: Fix handling of command-line arguments (issue #2208)

parent 796c7b6c
......@@ -379,6 +379,11 @@ bool CefContext::Initialize(const CefMainArgs& args,
new service_manager::MainParams(sm_main_delegate_.get()));
#if defined(OS_POSIX) && !defined(OS_ANDROID)
sm_main_params_->argc = params.argc;
sm_main_params_->argv = params.argv;
exit_code = service_manager::MainInitialize(*sm_main_params_);
DCHECK_LT(exit_code, 0);
if (exit_code >= 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment