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

Unified Diff: chrome/app/chrome_exe_main.cc

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Index: chrome/app/chrome_exe_main.cc
===================================================================
--- chrome/app/chrome_exe_main.cc (revision 5374)
+++ chrome/app/chrome_exe_main.cc (working copy)
@@ -20,7 +20,7 @@
#include "sandbox/src/dep.h"
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
- wchar_t* command_line, int show_command) {
+ wchar_t* command_line, int) {
process_util::EnableTerminationOnHeapCorruption();
// The exit manager is in charge of calling the dtors of singletons.
@@ -62,8 +62,8 @@
}
int ret = 0;
- if (client.Launch(instance, &sandbox_info, command_line, show_command,
- "ChromeMain", &ret)) {
+ if (client.Launch(instance, &sandbox_info, command_line, "ChromeMain",
+ &ret)) {
return ret;
}
#else
@@ -90,7 +90,7 @@
client_util::DLL_MAIN entry = reinterpret_cast<client_util::DLL_MAIN>(
::GetProcAddress(dll_handle, "ChromeMain"));
if (NULL != entry)
- return (entry)(instance, &sandbox_info, command_line, show_command);
+ return (entry)(instance, &sandbox_info, command_line);
}
#endif

Powered by Google App Engine
This is Rietveld 408576698