Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: content/shell/app/shell_content_main.cc

Issue 190853004: Convert ContentMain to take a struct instead of parameters that vary depending on the platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_launcher.cc ('k') | content/shell/app/shell_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/app/shell_content_main.cc
===================================================================
--- content/shell/app/shell_content_main.cc (revision 255735)
+++ content/shell/app/shell_content_main.cc (working copy)
@@ -11,6 +11,9 @@
int ContentMain(int argc,
const char** argv) {
content::ShellMainDelegate delegate;
- return content::ContentMain(argc, argv, &delegate);
+ content::ContentMainParams params(&delegate);
+ params.argc = argc;
+ params.argv = argv;
+ return content::ContentMain(params);
}
#endif // OS_MACOSX
« no previous file with comments | « content/public/test/test_launcher.cc ('k') | content/shell/app/shell_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698