Index: chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc |
diff --git a/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc b/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc |
index 47bc739df8e78e033c94933e03f820e6dfffc3de..030536d4ef5de8f1ab2231a119beaa7a9ebfd468 100644 |
--- a/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc |
+++ b/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc |
@@ -119,7 +119,7 @@ void PackEventLog(system_logs::SystemLogsResponse* response, |
void OnEventLogCollected(scoped_ptr<system_logs::SystemLogsResponse> response, |
const system_logs::SysLogsSourceCallback& callback, |
scoped_ptr<std::vector<base::FilePath>> log_paths) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
// We cannot eliminate these temporaries and inline these closures because the |
// compiler may call release() before get(). |
@@ -139,7 +139,7 @@ void OnEventLogCollected(scoped_ptr<system_logs::SystemLogsResponse> response, |
void OnStatusLogCollected(scoped_ptr<system_logs::SystemLogsResponse> response, |
const system_logs::SysLogsSourceCallback& callback, |
scoped_ptr<std::string> log) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
(*response)[kDeviceStatusLogDataKey] = *log; |
// Collect touch event logs. |
@@ -167,7 +167,7 @@ void CollectTouchHudDebugLog(system_logs::SystemLogsResponse* response) { |
namespace system_logs { |
void TouchLogSource::Fetch(const SysLogsSourceCallback& callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
scoped_ptr<SystemLogsResponse> response(new SystemLogsResponse); |