diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 19:52:21 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 19:52:21 +0000 |
commit | e68639f548016058b9be524057e15fa2b5118267 (patch) | |
tree | 6cee142bc4493b8c617c999ca81922cf07e02e41 /base/process_util_win.cc | |
parent | 020f49e7fa227ae8b7640d93729dfc7f3d16fdb9 (diff) | |
download | chromium_src-e68639f548016058b9be524057e15fa2b5118267.zip chromium_src-e68639f548016058b9be524057e15fa2b5118267.tar.gz chromium_src-e68639f548016058b9be524057e15fa2b5118267.tar.bz2 |
Fix a typo.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1604015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_win.cc')
-rw-r--r-- | base/process_util_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util_win.cc b/base/process_util_win.cc index b12f81e..3299f60 100644 --- a/base/process_util_win.cc +++ b/base/process_util_win.cc @@ -186,7 +186,7 @@ bool LaunchAppAsUser(UserTokenHandle token, const std::wstring& cmdline, DWORD flags = CREATE_UNICODE_ENVIRONMENT; void* enviroment_block = NULL; - if(!CreateEnvironmentBlock(&enviroment_block, token, FALSE)) + if (!CreateEnvironmentBlock(&enviroment_block, token, FALSE)) return false; BOOL launched = @@ -348,7 +348,7 @@ bool DidProcessCrash(bool* child_exited, ProcessHandle handle) { // Warning, this is not generic code; it heavily depends on the way // the rest of the code kills a process. - if (exitcode == PROCESS_END_NORMAL_TERMINATON || + if (exitcode == PROCESS_END_NORMAL_TERMINATION || exitcode == PROCESS_END_KILLED_BY_USER || exitcode == PROCESS_END_PROCESS_WAS_HUNG || exitcode == 0xC0000354 || // STATUS_DEBUGGER_INACTIVE. |