Index: chrome/browser/themes/browser_theme_pack.cc |
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc |
index 81755840371ef49a4c4d23de70626f965fa716e6..53f5de789dd1df4f78e0cf71d02381a6e4521390 100644 |
--- a/chrome/browser/themes/browser_theme_pack.cc |
+++ b/chrome/browser/themes/browser_theme_pack.cc |
@@ -651,7 +651,7 @@ BrowserThemePack::~BrowserThemePack() { |
// static |
scoped_refptr<BrowserThemePack> BrowserThemePack::BuildFromExtension( |
const Extension* extension) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(extension); |
DCHECK(extension->is_theme()); |
@@ -712,7 +712,7 @@ scoped_refptr<BrowserThemePack> BrowserThemePack::BuildFromExtension( |
// static |
scoped_refptr<BrowserThemePack> BrowserThemePack::BuildFromDataPack( |
const base::FilePath& path, const std::string& expected_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
// Allow IO on UI thread due to deep-seated theme design issues. |
// (see http://crbug.com/80206) |
base::ThreadRestrictions::ScopedAllowIO allow_io; |