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 22:05:23 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 22:05:23 +0000
commitcf0d278d5ad746f025a7cf687dcc019b4c09421e (patch)
tree0b0b4627d132e56a7230ab07a4d98c5064359d5e /chrome/browser/spellchecker.cc
parent620b79cee22f6376851f63989e319157f23d5556 (diff)
downloadchromium_src-cf0d278d5ad746f025a7cf687dcc019b4c09421e.zip
chromium_src-cf0d278d5ad746f025a7cf687dcc019b4c09421e.tar.gz
chromium_src-cf0d278d5ad746f025a7cf687dcc019b4c09421e.tar.bz2
Implement the memory mapped file class for posix.
Review URL: http://codereview.chromium.org/14073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6935 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);