Index: extensions/shell/browser/shell_oauth2_token_service.cc |
diff --git a/extensions/shell/browser/shell_oauth2_token_service.cc b/extensions/shell/browser/shell_oauth2_token_service.cc |
index 53ed2fe425d41a3486cbf175da4aac04233f963f..a7422559c44b6142d385415c2d1f73d7f2d83fc2 100644 |
--- a/extensions/shell/browser/shell_oauth2_token_service.cc |
+++ b/extensions/shell/browser/shell_oauth2_token_service.cc |
@@ -23,13 +23,13 @@ ShellOAuth2TokenService::ShellOAuth2TokenService( |
: browser_context_(browser_context), |
account_id_(account_id), |
refresh_token_(refresh_token) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(!g_instance); |
g_instance = this; |
} |
ShellOAuth2TokenService::~ShellOAuth2TokenService() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(g_instance); |
g_instance = nullptr; |
} |