| Index: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
|
| index 1a29c5e8495f5b467a299e35ccad20e1cdf7398c..5a20a05226b6446d97f900a1c8f36a2048439680 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h"
|
|
|
| #include "base/file_util.h"
|
| +#include "base/files/memory_mapped_file.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| #include "base/path_service.h"
|
| @@ -92,7 +93,7 @@ scoped_ptr<DictionaryFile> InitializeDictionaryLocation(
|
| // scoping closes the memory-mapped file before it is opened or deleted.
|
| bool bdict_is_valid;
|
| {
|
| - file_util::MemoryMappedFile map;
|
| + base::MemoryMappedFile map;
|
| bdict_is_valid = file_util::PathExists(file->path) &&
|
| map.Initialize(file->path) &&
|
| hunspell::BDict::Verify(reinterpret_cast<const char*>(map.data()),
|
|
|