Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Unified Diff: components/spellcheck/common/spellcheck_message_generator.h

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/spellcheck/common/spellcheck_message_generator.h
diff --git a/components/spellcheck/common/spellcheck_message_generator.h b/components/spellcheck/common/spellcheck_message_generator.h
index 0876034c524de64af94517fbb0eec76d791d33fb..ccd76dd0e25a0f3b04e41fa91b325466e5d6439a 100644
--- a/components/spellcheck/common/spellcheck_message_generator.h
+++ b/components/spellcheck/common/spellcheck_message_generator.h
@@ -4,6 +4,8 @@
// Multiply-included file, hence no include guard.
-#if defined(ENABLE_SPELLCHECK)
+#include "components/spellcheck/spellcheck_build_features.h"
+
+#if BUILDFLAG(ENABLE_SPELLCHECK)
#include "components/spellcheck/common/spellcheck_messages.h"
#endif
« no previous file with comments | « components/spellcheck/common/spellcheck_features.cc ('k') | components/spellcheck/common/spellcheck_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698