| Index: components/spellcheck/renderer/spellcheck_unittest.cc
|
| diff --git a/components/spellcheck/renderer/spellcheck_unittest.cc b/components/spellcheck/renderer/spellcheck_unittest.cc
|
| index d56e603bf3a3ef4e9a724da4682857fc712feb9b..3804513db9c426bccc9a7e7d09ec74da1893436c 100644
|
| --- a/components/spellcheck/renderer/spellcheck_unittest.cc
|
| +++ b/components/spellcheck/renderer/spellcheck_unittest.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/ptr_util.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| #include "base/run_loop.h"
|
| @@ -75,7 +74,7 @@
|
| #if defined(OS_MACOSX)
|
| // TODO(groby): Forcing spellcheck to use hunspell, even on OSX.
|
| // Instead, tests should exercise individual spelling engines.
|
| - spell_check_->languages_.push_back(base::MakeUnique<SpellcheckLanguage>());
|
| + spell_check_->languages_.push_back(new SpellcheckLanguage());
|
| spell_check_->languages_.front()->platform_spelling_engine_.reset(
|
| new HunspellEngine);
|
| spell_check_->languages_.front()->Init(std::move(file), language);
|
|
|