diff options
author | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-29 17:37:24 +0000 |
---|---|---|
committer | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-29 17:37:24 +0000 |
commit | 54ee8195669456ecc5d929911a2aa3af2db47931 (patch) | |
tree | ccef27549113baffd823c5003efb36a00aafae2e /extensions/browser/info_map.cc | |
parent | e24b74fe09d92384df55ce53436b1d5dcb309042 (diff) | |
download | chromium_src-54ee8195669456ecc5d929911a2aa3af2db47931.zip chromium_src-54ee8195669456ecc5d929911a2aa3af2db47931.tar.gz chromium_src-54ee8195669456ecc5d929911a2aa3af2db47931.tar.bz2 |
Replace DCHECK(BrowserThread::CurrentlyOn) with DCHECK_CURRENTLY_ON in extensions.
This is a follow-up to
https://src.chromium.org/viewvc/chrome?revision=256913&view=revision that makes
error messages more descriptive.
It was automatically produced with
git grep -l 'DCHECK(.*CurrentlyOn' extensions chrome/*/extensions|xargs sed -i -e 's/DCHECK(BrowserThread::CurrentlyOn(\([^)]*\)))/DCHECK_CURRENTLY_ON(\1)/' -e 's/DCHECK(content::BrowserThread::CurrentlyOn(\([^)]*\)))/DCHECK_CURRENTLY_ON(\1)/'
Review URL: https://codereview.chromium.org/216513002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/info_map.cc')
-rw-r--r-- | extensions/browser/info_map.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc index 7122eb0..408b4f1 100644 --- a/extensions/browser/info_map.cc +++ b/extensions/browser/info_map.cc @@ -16,9 +16,7 @@ namespace extensions { namespace { -void CheckOnValidThread() { - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); -} +void CheckOnValidThread() { DCHECK_CURRENTLY_ON(BrowserThread::IO); } } // namespace |