| Index: chrome/browser/spellchecker/spellcheck_platform_mac.mm
|
| diff --git a/chrome/browser/spellchecker/spellcheck_platform_mac.mm b/chrome/browser/spellchecker/spellcheck_platform_mac.mm
|
| index 1db8190596ef4038f9c05fc0eb2565ab5eaad575..2643f192f80cda5b6c9847c1d10bacee2b60abc1 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_platform_mac.mm
|
| +++ b/chrome/browser/spellchecker/spellcheck_platform_mac.mm
|
| @@ -241,8 +241,8 @@ void FillSuggestionList(const string16& wrong_word,
|
| DHISTOGRAM_TIMES("Spellcheck.SuggestTime",
|
| base::Histogram::DebugNow() - debug_begin_time);
|
|
|
| - for (int i = 0; i < static_cast<int>([guesses count]); i++) {
|
| - if (i < SpellCheckCommon::kMaxSuggestions) {
|
| + for (int i = 0; i < static_cast<int>([guesses count]); ++i) {
|
| + if (i < chrome::spellcheck_common::kMaxSuggestions) {
|
| optional_suggestions->push_back(base::SysNSStringToUTF16(
|
| [guesses objectAtIndex:i]));
|
| }
|
|
|