summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker.cc
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 22:12:43 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 22:12:43 +0000
commitc1da9339ac3ac493e53a094dffb4d49cc3aa8dfd (patch)
tree0224c0b3d85fe5078e49cc8d9b1c8f54c98fe200 /chrome/browser/spellchecker.cc
parent6bea3284a8c15fc9a0e793d0da00423c2c2b885c (diff)
downloadchromium_src-c1da9339ac3ac493e53a094dffb4d49cc3aa8dfd.zip
chromium_src-c1da9339ac3ac493e53a094dffb4d49cc3aa8dfd.tar.gz
chromium_src-c1da9339ac3ac493e53a094dffb4d49cc3aa8dfd.tar.bz2
Reverting 6935.
Broke compile Review URL: http://codereview.chromium.org/14083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker.cc')
-rw-r--r--chrome/browser/spellchecker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc
index 6fc9d4c..004c39b 100644
--- a/chrome/browser/spellchecker.cc
+++ b/chrome/browser/spellchecker.cc
@@ -430,7 +430,7 @@ bool SpellChecker::Initialize() {
TimeTicks begin_time = TimeTicks::Now();
bdict_file_.reset(new file_util::MemoryMappedFile());
if (bdict_file_->Initialize(FilePath::FromWStringHack(bdict_file_name_))) {
- hunspell_.reset(new Hunspell(bdict_file_->data(), bdict_file_->length()));
+ hunspell_.reset(new Hunspell(bdict_file_->Data(), bdict_file_->Length()));
AddCustomWordsToHunspell();
}
DHISTOGRAM_TIMES(L"Spellcheck.InitTime", TimeTicks::Now() - begin_time);