OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/shell/app/shell_content_main.h" | 5 #include "content/shell/app/shell_content_main.h" |
6 | 6 |
7 #include "content/public/app/content_main.h" | 7 #include "content/public/app/content_main.h" |
8 #include "content/shell/app/shell_main_delegate.h" | 8 #include "content/shell/app/shell_main_delegate.h" |
9 | 9 |
10 #if defined(OS_MACOSX) | 10 #if defined(OS_MACOSX) |
11 int ContentMain(int argc, | 11 int ContentMain(int argc, |
12 const char** argv) { | 12 const char** argv) { |
13 content::ShellMainDelegate delegate; | 13 content::ShellMainDelegate delegate; |
14 return content::ContentMain(argc, argv, &delegate); | 14 content::ContentMainParams params(&delegate); |
| 15 params.argc = argc; |
| 16 params.argv = argv; |
| 17 return content::ContentMain(params); |
15 } | 18 } |
16 #endif // OS_MACOSX | 19 #endif // OS_MACOSX |
OLD | NEW |