| Index: chrome/renderer/spellchecker/spellcheck_provider.cc
|
| diff --git a/chrome/renderer/spellchecker/spellcheck_provider.cc b/chrome/renderer/spellchecker/spellcheck_provider.cc
|
| index 2775a1c5079938aa8f5bc95ae7ce74a62919963f..f6d1acf03ff625213d69cff5673ba2af8f7aab0f 100644
|
| --- a/chrome/renderer/spellchecker/spellcheck_provider.cc
|
| +++ b/chrome/renderer/spellchecker/spellcheck_provider.cc
|
| @@ -27,12 +27,12 @@ using blink::WebTextCheckingResult;
|
| using blink::WebTextDecorationType;
|
| using blink::WebVector;
|
|
|
| -COMPILE_ASSERT(int(blink::WebTextDecorationTypeSpelling) ==
|
| - int(SpellCheckResult::SPELLING), mismatching_enums);
|
| -COMPILE_ASSERT(int(blink::WebTextDecorationTypeGrammar) ==
|
| - int(SpellCheckResult::GRAMMAR), mismatching_enums);
|
| -COMPILE_ASSERT(int(blink::WebTextDecorationTypeInvisibleSpellcheck) ==
|
| - int(SpellCheckResult::INVISIBLE), mismatching_enums);
|
| +static_assert(int(blink::WebTextDecorationTypeSpelling) ==
|
| + int(SpellCheckResult::SPELLING), "mismatching enums");
|
| +static_assert(int(blink::WebTextDecorationTypeGrammar) ==
|
| + int(SpellCheckResult::GRAMMAR), "mismatching enums");
|
| +static_assert(int(blink::WebTextDecorationTypeInvisibleSpellcheck) ==
|
| + int(SpellCheckResult::INVISIBLE), "mismatching enums");
|
|
|
| SpellCheckProvider::SpellCheckProvider(
|
| content::RenderView* render_view,
|
|
|