Index: chrome/browser/media/webrtc_log_util.cc |
diff --git a/chrome/browser/media/webrtc_log_util.cc b/chrome/browser/media/webrtc_log_util.cc |
index 7afd9b22a5e498120e06cdc3e713320fc04b86a9..f9d3fbb811cbe3f565c2aff8d1b0deec0270ade0 100644 |
--- a/chrome/browser/media/webrtc_log_util.cc |
+++ b/chrome/browser/media/webrtc_log_util.cc |
@@ -44,7 +44,7 @@ void WebRtcLogUtil::DeleteOldWebRtcLogFiles(const base::FilePath& log_dir) { |
void WebRtcLogUtil::DeleteOldAndRecentWebRtcLogFiles( |
const base::FilePath& log_dir, |
const base::Time& delete_begin_time) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::FILE); |
if (!base::PathExists(log_dir)) { |
// This will happen if no logs have been stored or uploaded. |
@@ -102,7 +102,7 @@ void WebRtcLogUtil::DeleteOldAndRecentWebRtcLogFiles( |
// static |
void WebRtcLogUtil::DeleteOldWebRtcLogFilesForAllProfiles() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
ProfileInfoCache& profile_cache = |
g_browser_process->profile_manager()->GetProfileInfoCache(); |