Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: chrome/browser/spellchecker/spellcheck_platform_mac.mm

Issue 10573017: Rename SpellCheckCommon namespace to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]));
}

Powered by Google App Engine
This is Rietveld 408576698