Index: chrome/browser/spellchecker/spellcheck_message_filter.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter.cc b/chrome/browser/spellchecker/spellcheck_message_filter.cc |
index 30f7d5b2337bfeb25e0e24c2ad102767d5224403..97415dcc6675bdf2aae2e21f6f76192120656b55 100644 |
--- a/chrome/browser/spellchecker/spellcheck_message_filter.cc |
+++ b/chrome/browser/spellchecker/spellcheck_message_filter.cc |
@@ -112,7 +112,7 @@ void SpellCheckMessageFilter::OnCallSpellingService( |
const base::string16& text, |
std::vector<SpellCheckMarker> markers) { |
DCHECK(!text.empty()); |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
// Erase invalid markers (with offsets out of boundaries of text length). |
markers.erase( |
std::remove_if( |