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

Unified Diff: chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc

Issue 1110473002: [chrome/browser/renderer_context_menu] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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: chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc
diff --git a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc
index f8ac7ef29077e67bf8f583f96bb81c80e6c2fce4..a90bc44dbb2ef0cf34906213b6b3ad380373912f 100644
--- a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc
+++ b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc
@@ -44,7 +44,7 @@ SpellCheckerSubMenuObserver::~SpellCheckerSubMenuObserver() {
void SpellCheckerSubMenuObserver::InitMenu(
const content::ContextMenuParams& params) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Add an item that toggles the spelling panel.
submenu_model_.AddCheckItem(

Powered by Google App Engine
This is Rietveld 408576698