Index: extensions/shell/browser/shell_speech_recognition_manager_delegate.cc |
diff --git a/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc b/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc |
index 7a96874e046e14880c62b6dfe161a59daf51986f..9fc2f65beda062ca487d249b95b5bd57b3c08015 100644 |
--- a/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc |
+++ b/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc |
@@ -72,7 +72,7 @@ void ShellSpeechRecognitionManagerDelegate::GetDiagnosticInformation( |
void ShellSpeechRecognitionManagerDelegate::CheckRecognitionIsAllowed( |
int session_id, |
base::Callback<void(bool ask_user, bool is_allowed)> callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
const content::SpeechRecognitionSessionContext& context = |
SpeechRecognitionManager::GetInstance()->GetSessionContext(session_id); |
@@ -104,7 +104,7 @@ void ShellSpeechRecognitionManagerDelegate::CheckRenderViewType( |
base::Callback<void(bool ask_user, bool is_allowed)> callback, |
int render_process_id, |
int render_view_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
const content::RenderViewHost* render_view_host = |
content::RenderViewHost::FromID(render_process_id, render_view_id); |
bool allowed = false; |