| Index: mojo/application/application_runner_chromium.cc
|
| diff --git a/mojo/application/application_runner_chromium.cc b/mojo/application/application_runner_chromium.cc
|
| index ce104f0052232f9ac2cc64079c7b14d0eb27b573..7dd60054e721b85ef36935e8301de05781894d26 100644
|
| --- a/mojo/application/application_runner_chromium.cc
|
| +++ b/mojo/application/application_runner_chromium.cc
|
| @@ -19,6 +19,7 @@ const char* const* g_argv;
|
| extern "C" {
|
| __attribute__((visibility("default"))) void InitCommandLineArgs(
|
| int argc, const char* const* argv) {
|
| + printf("MSW InitCommandLineArgs\n");
|
| g_argc = argc;
|
| g_argv = argv;
|
| }
|
| @@ -41,6 +42,12 @@ ApplicationRunnerChromium::ApplicationRunnerChromium(
|
|
|
| ApplicationRunnerChromium::~ApplicationRunnerChromium() {}
|
|
|
| +// static
|
| +void ApplicationRunnerChromium::InitBaseCommandLine() {
|
| + printf("MSW ApplicationRunnerChromium::InitBaseCommandLine\n");
|
| + base::CommandLine::Init(g_argc, g_argv);
|
| +}
|
| +
|
| void ApplicationRunnerChromium::set_message_loop_type(
|
| base::MessageLoop::Type type) {
|
| DCHECK_NE(base::MessageLoop::TYPE_CUSTOM, type);
|
| @@ -54,7 +61,7 @@ MojoResult ApplicationRunnerChromium::Run(
|
| DCHECK(!has_run_);
|
| has_run_ = true;
|
|
|
| - base::CommandLine::Init(g_argc, g_argv);
|
| + InitBaseCommandLine();
|
| base::AtExitManager at_exit;
|
|
|
| #ifndef NDEBUG
|
|
|