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

Unified Diff: chrome/browser/chromeos/system_logs/touch_log_source_x11.cc

Issue 1036723003: favor DCHECK_CURRENTLY_ON for better logs in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system_logs/touch_log_source_x11.cc
diff --git a/chrome/browser/chromeos/system_logs/touch_log_source_x11.cc b/chrome/browser/chromeos/system_logs/touch_log_source_x11.cc
index fa27399ee4e82298f505d04b53d394bf50ca83e5..0d1d8337390f0eb3e42f5e8aae7c4d46729a3d68 100644
--- a/chrome/browser/chromeos/system_logs/touch_log_source_x11.cc
+++ b/chrome/browser/chromeos/system_logs/touch_log_source_x11.cc
@@ -55,7 +55,7 @@ void GetTouchLogsX11(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());
SystemLogsResponse* response = new SystemLogsResponse;
« no previous file with comments | « chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698