diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-01 15:51:53 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-01 15:51:53 +0000 |
commit | d85d670009ad28c375fc0dbcd8f333ba00ef7327 (patch) | |
tree | 6c6e8ef196182a36ab8b1a0f547874e5ee4c049e /chrome/app/client_util.cc | |
parent | e601bd195eea2dfb27dc590d6f122f5715087769 (diff) | |
download | chromium_src-d85d670009ad28c375fc0dbcd8f333ba00ef7327.zip chromium_src-d85d670009ad28c375fc0dbcd8f333ba00ef7327.tar.gz chromium_src-d85d670009ad28c375fc0dbcd8f333ba00ef7327.tar.bz2 |
Start moving ChromeMain code to content so it can be reused by other embedders. I've only moved a little bit of the code for now, and will do the rest in followup changes.
BUG=90445
Review URL: http://codereview.chromium.org/7817015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/client_util.cc')
-rw-r--r-- | chrome/app/client_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc index 07021e2..a6bf84e 100644 --- a/chrome/app/client_util.cc +++ b/chrome/app/client_util.cc @@ -31,7 +31,7 @@ namespace { // The entry point signature of chrome.dll. -typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*); +typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*); typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)(); @@ -363,7 +363,7 @@ int MainDllLoader::Launch(HINSTANCE instance, if (!entry_point) return chrome::RESULT_CODE_BAD_PROCESS_TYPE; - int rc = entry_point(instance, sbox_info, ::GetCommandLineW()); + int rc = entry_point(instance, sbox_info); return OnBeforeExit(rc, file); } |