Index: chrome/browser/extensions/api/push_messaging/push_messaging_api.cc |
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc b/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc |
index c6c9af6b3495f797543af5837d6120880480e4b7..1f05308bc220d16090037324bf80701d04b992ff 100644 |
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc |
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc |
@@ -167,7 +167,7 @@ void PushMessagingGetChannelIdFunction::OnGetTokenFailure( |
void PushMessagingGetChannelIdFunction::StartGaiaIdFetch( |
const std::string& access_token) { |
// Start the async fetch of the Gaia Id. |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
net::URLRequestContextGetter* context = GetProfile()->GetRequestContext(); |
fetcher_.reset(new ObfuscatedGaiaIdFetcher(context, this, access_token)); |
@@ -197,7 +197,7 @@ bool PushMessagingGetChannelIdFunction::IsUserLoggedIn() { |
void PushMessagingGetChannelIdFunction::ReportResult( |
const std::string& gaia_id, const std::string& error_string) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
BuildAndSendResult(gaia_id, error_string); |