diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 22:44:29 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 22:44:29 +0000 |
commit | c27324bdb7b9ee448a0c73d5c005c709282c8cbc (patch) | |
tree | d7ec31ab43e6493ef3f00eb81faeca0c79a793c3 /chrome/browser/spellchecker_mac.mm | |
parent | 5ef3748a651d073bf12928e880a042bf450e1aa8 (diff) | |
download | chromium_src-c27324bdb7b9ee448a0c73d5c005c709282c8cbc.zip chromium_src-c27324bdb7b9ee448a0c73d5c005c709282c8cbc.tar.gz chromium_src-c27324bdb7b9ee448a0c73d5c005c709282c8cbc.tar.bz2 |
Move Mac to using renderer spellchecker.
BUG=25677
Review URL: http://codereview.chromium.org/395007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker_mac.mm')
-rw-r--r-- | chrome/browser/spellchecker_mac.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/spellchecker_mac.mm b/chrome/browser/spellchecker_mac.mm index 72c06e1..70db304 100644 --- a/chrome/browser/spellchecker_mac.mm +++ b/chrome/browser/spellchecker_mac.mm @@ -5,14 +5,15 @@ // This file implements the interface defined in spellchecker_platform_engine.h // for the OS X platform. +#include "chrome/browser/spellchecker_platform_engine.h" + #import <Cocoa/Cocoa.h> #include "base/logging.h" #include "base/time.h" #include "base/histogram.h" #include "base/sys_string_conversions.h" -#include "chrome/browser/spellchecker_common.h" -#include "chrome/browser/spellchecker_platform_engine.h" +#include "chrome/common/spellcheck_common.h" using base::TimeTicks; namespace { @@ -175,7 +176,7 @@ void FillSuggestionList(const string16& wrong_word, TimeTicks::Now() - begin_time); for (int i = 0; i < static_cast<int>([guesses count]); i++) { - if (i < kMaxSuggestions) { + if (i < SpellCheckCommon::kMaxSuggestions) { optional_suggestions->push_back(base::SysNSStringToUTF16( [guesses objectAtIndex:i])); } |