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 1b219b8ec9eb2705883029862c01b19aa52cf811..04f44b5bc3e0b0c8a8fae06349593eec2f97c92a 100644 |
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
@@ -20,6 +20,7 @@ |
#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/spellcheck/browser/spellcheck_platform.h" |
#include "components/spellcheck/common/spellcheck_common.h" |
+#include "components/spellcheck/spellcheck_build_features.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/render_process_host.h" |
#include "net/base/load_flags.h" |
@@ -116,7 +117,7 @@ SpellcheckHunspellDictionary::~SpellcheckHunspellDictionary() { |
void SpellcheckHunspellDictionary::Load() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
-#if defined(USE_BROWSER_SPELLCHECKER) |
+#if BUILDFLAG(USE_BROWSER_SPELLCHECKER) |
if (spellcheck_platform::SpellCheckerAvailable() && |
spellcheck_platform::PlatformSupportsLanguage(language_)) { |
use_browser_spellchecker_ = true; |