diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 22:05:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 22:05:23 +0000 |
commit | cf0d278d5ad746f025a7cf687dcc019b4c09421e (patch) | |
tree | 0b0b4627d132e56a7230ab07a4d98c5064359d5e /chrome/browser/spellchecker.cc | |
parent | 620b79cee22f6376851f63989e319157f23d5556 (diff) | |
download | chromium_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.cc | 2 |
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); |