Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc |
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
index fdd3a088708624699819b3696a466c4d9e767992..5659afa542137258732017b52c6738b2368bf848 100644 |
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
@@ -77,6 +77,10 @@ |
#include "extensions/common/manifest.h" |
#endif |
+#if defined(ENABLE_SPELLCHECK) |
+#include "components/spellcheck/browser/pref_names.h" |
+#endif |
+ |
namespace policy { |
namespace { |
@@ -360,7 +364,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = { |
#if defined(ENABLE_SPELLCHECK) |
{ key::kSpellCheckServiceEnabled, |
- prefs::kSpellCheckUseSpellingService, |
+ spellcheck::prefs::kSpellCheckUseSpellingService, |
base::Value::TYPE_BOOLEAN }, |
#endif // defined(ENABLE_SPELLCHECK) |