| Index: chrome/installer/mini_installer/mini_string.cc
|
| diff --git a/chrome/installer/mini_installer/mini_string.cc b/chrome/installer/mini_installer/mini_string.cc
|
| index c5e401a1621f8d03eeeea276e286f1b744c2782e..1f4b3f10294cdcd064782fdaeb70830f481f0e99 100644
|
| --- a/chrome/installer/mini_installer/mini_string.cc
|
| +++ b/chrome/installer/mini_installer/mini_string.cc
|
| @@ -68,8 +68,8 @@ bool SafeStrCopy(wchar_t* dest, size_t dest_size, const wchar_t* src) {
|
| // failed concatenation. For example:
|
| //
|
| // wchar_t buf[5] = {0};
|
| - // if (!SafeStrCat(buf, arraysize(buf), kLongName))
|
| - // SafeStrCat(buf, arraysize(buf), kShortName);
|
| + // if (!SafeStrCat(buf, _countof(buf), kLongName))
|
| + // SafeStrCat(buf, _countof(buf), kShortName);
|
| //
|
| // If we were to return false in the first call to SafeStrCat but still
|
| // mutate the buffer, the buffer will be in an unexpected state.
|
|
|