summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 23:43:03 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 23:43:03 +0000
commit7856bb83df917cfaebfe7881dc620bf264a94885 (patch)
tree441a77bf222db624ec3c3bbf58f0f3f9698befd9 /chrome/browser/spellchecker.cc
parent6d2b8132aaa55a9e01b8b49bcce5eb44c68a1972 (diff)
downloadchromium_src-7856bb83df917cfaebfe7881dc620bf264a94885.zip
chromium_src-7856bb83df917cfaebfe7881dc620bf264a94885.tar.gz
chromium_src-7856bb83df917cfaebfe7881dc620bf264a94885.tar.bz2
revert r6938
(i.e. reapply 6935, with fix) Review URL: http://codereview.chromium.org/14087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6953 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 004c39b..6fc9d4c 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);