diff options
Diffstat (limited to 'win8/delegate_execute/delegate_execute.cc')
-rw-r--r-- | win8/delegate_execute/delegate_execute.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc index 118bfe2..0d2bbbb 100644 --- a/win8/delegate_execute/delegate_execute.cc +++ b/win8/delegate_execute/delegate_execute.cc @@ -146,7 +146,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) { bool found_exe = CommandExecuteImpl::FindChromeExe(&chrome_exe_path); DCHECK(found_exe); if (found_exe) { - bool launch_ash = CommandLine::ForCurrentProcess()->HasSwitch( + bool launch_ash = base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kForceImmersive); if (launch_ash) { AtlTrace(L"Relaunching Chrome into Windows ASH on Windows 7\n"); @@ -182,10 +182,10 @@ extern "C" int WINAPI _tWinMain(HINSTANCE , HINSTANCE, LPTSTR, int nShowCmd) { base::AtExitManager exit_manager; AtlTrace("delegate_execute enter\n"); - CommandLine::Init(0, NULL); + base::CommandLine::Init(0, NULL); HRESULT ret_code = E_UNEXPECTED; DelegateExecuteOperation operation; - if (operation.Init(CommandLine::ForCurrentProcess())) { + if (operation.Init(base::CommandLine::ForCurrentProcess())) { switch (operation.operation_type()) { case DelegateExecuteOperation::DELEGATE_EXECUTE: ret_code = _AtlModule.WinMain(nShowCmd); |