| Index: components/spellcheck/renderer/spellcheck_provider.h
|
| diff --git a/components/spellcheck/renderer/spellcheck_provider.h b/components/spellcheck/renderer/spellcheck_provider.h
|
| index 46e160624ed6008a763651909941468de63ec533..82f8fa439725a02ac47e2c71f476ea93b6a17898 100644
|
| --- a/components/spellcheck/renderer/spellcheck_provider.h
|
| +++ b/components/spellcheck/renderer/spellcheck_provider.h
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/id_map.h"
|
| #include "base/macros.h"
|
| +#include "components/spellcheck/spellcheck_build_features.h"
|
| #include "content/public/renderer/render_view_observer.h"
|
| #include "content/public/renderer/render_view_observer_tracker.h"
|
| #include "third_party/WebKit/public/web/WebSpellCheckClient.h"
|
| @@ -93,7 +94,7 @@ class SpellCheckProvider
|
| void updateSpellingUIWithMisspelledWord(
|
| const blink::WebString& word) override;
|
|
|
| -#if !defined(USE_BROWSER_SPELLCHECKER)
|
| +#if !BUILDFLAG(USE_BROWSER_SPELLCHECKER)
|
| void OnRespondSpellingService(
|
| int identifier,
|
| bool succeeded,
|
| @@ -105,7 +106,7 @@ class SpellCheckProvider
|
| // needs to check this text.
|
| bool HasWordCharacters(const base::string16& text, int index) const;
|
|
|
| -#if defined(USE_BROWSER_SPELLCHECKER)
|
| +#if BUILDFLAG(USE_BROWSER_SPELLCHECKER)
|
| void OnAdvanceToNextMisspelling();
|
| void OnRespondTextCheck(
|
| int identifier,
|
|
|