| Index: chrome/browser/spellchecker/spellcheck_service.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_service.cc b/chrome/browser/spellchecker/spellcheck_service.cc
|
| index d07712f5fec4a87a02495deaa7b9103e02dff69e..e496d8909d595f1bb2fe556828561e700f2dec96 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_service.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_service.cc
|
| @@ -127,7 +127,7 @@ void SpellcheckService::GetDictionaries(base::SupportsUserData* browser_context,
|
| for (const auto& value :
|
| *prefs->GetList(spellcheck::prefs::kSpellCheckDictionaries)) {
|
| std::string dictionary;
|
| - if (value->GetAsString(&dictionary))
|
| + if (value.GetAsString(&dictionary))
|
| spellcheck_dictionaries.insert(dictionary);
|
| }
|
|
|
| @@ -216,7 +216,7 @@ void SpellcheckService::LoadHunspellDictionaries() {
|
|
|
| for (const auto& dictionary_value : *dictionary_values) {
|
| std::string dictionary;
|
| - dictionary_value->GetAsString(&dictionary);
|
| + dictionary_value.GetAsString(&dictionary);
|
| hunspell_dictionaries_.push_back(
|
| base::MakeUnique<SpellcheckHunspellDictionary>(
|
| dictionary,
|
|
|