summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_test_util.cc
diff options
context:
space:
mode:
authoranujk.sharma <anujk.sharma@samsung.com>2015-04-22 23:38:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 06:38:38 +0000
commit86194487d0cdf451b1177477828c8870b9cbd10c (patch)
treea12120956b520e5017a8d178a5effd3d210bbbd8 /chrome/browser/sync/profile_sync_test_util.cc
parentd389a96ff7963b90a7a80bc3cd3318fdf48c0e70 (diff)
downloadchromium_src-86194487d0cdf451b1177477828c8870b9cbd10c.zip
chromium_src-86194487d0cdf451b1177477828c8870b9cbd10c.tar.gz
chromium_src-86194487d0cdf451b1177477828c8870b9cbd10c.tar.bz2
favor DCHECK_CURRENTLY_ON for better logs in chrome/browser/sync and sync_file_system
BUG=466848 Review URL: https://codereview.chromium.org/1090413003 Cr-Commit-Position: refs/heads/master@{#326465}
Diffstat (limited to 'chrome/browser/sync/profile_sync_test_util.cc')
-rw-r--r--chrome/browser/sync/profile_sync_test_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/profile_sync_test_util.cc b/chrome/browser/sync/profile_sync_test_util.cc
index 565c5ad8..087a4d2 100644
--- a/chrome/browser/sync/profile_sync_test_util.cc
+++ b/chrome/browser/sync/profile_sync_test_util.cc
@@ -27,7 +27,7 @@ void ThreadNotifier::Notify(int type,
void ThreadNotifier::Notify(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
notify_thread_->message_loop()->PostTask(
FROM_HERE,
base::Bind(&ThreadNotifier::NotifyTask, this, type, source, details));