diff options
author | anujk.sharma <anujk.sharma@samsung.com> | 2015-04-27 21:57:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-28 04:57:10 +0000 |
commit | 21999efe098e256c5b2099f450d155e6d48a4cd8 (patch) | |
tree | de911d4c51ade853c081854a0f1dab329bf0d15f /chrome/browser/metrics/thread_watcher_android.cc | |
parent | 5923893a1b4035961f822bf8f3432e4eb5f83696 (diff) | |
download | chromium_src-21999efe098e256c5b2099f450d155e6d48a4cd8.zip chromium_src-21999efe098e256c5b2099f450d155e6d48a4cd8.tar.gz chromium_src-21999efe098e256c5b2099f450d155e6d48a4cd8.tar.bz2 |
favor DCHECK_CURRENTLY_ON for better logs in chrome/browser/media_galleries , metrics and nacl_host modules
BUG=466848
Review URL: https://codereview.chromium.org/1102233002
Cr-Commit-Position: refs/heads/master@{#327233}
Diffstat (limited to 'chrome/browser/metrics/thread_watcher_android.cc')
-rw-r--r-- | chrome/browser/metrics/thread_watcher_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/metrics/thread_watcher_android.cc b/chrome/browser/metrics/thread_watcher_android.cc index 74aab6a..67b92f0 100644 --- a/chrome/browser/metrics/thread_watcher_android.cc +++ b/chrome/browser/metrics/thread_watcher_android.cc @@ -24,7 +24,7 @@ bool g_application_has_stopped = false; void OnApplicationStateChange( base::android::ApplicationState application_state) { - DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); + DCHECK_CURRENTLY_ON(content::BrowserThread::UI); if (application_state == base::android::APPLICATION_STATE_HAS_STOPPED_ACTIVITIES) { g_application_has_stopped = true; |