Index: chrome/browser/geolocation/chrome_access_token_store.cc |
diff --git a/chrome/browser/geolocation/chrome_access_token_store.cc b/chrome/browser/geolocation/chrome_access_token_store.cc |
index b0f521bde41032752a0e9cc3315a28b66f6d2a19..01cf53bc9f16347f7172622f62d7e9c571f68a91 100644 |
--- a/chrome/browser/geolocation/chrome_access_token_store.cc |
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc |
@@ -59,7 +59,7 @@ class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> { |
~TokenLoadingJob() {} |
void PerformWorkOnUIThread() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DictionaryPrefUpdate update(g_browser_process->local_state(), |
prefs::kGeolocationAccessToken); |
base::DictionaryValue* token_dictionary = update.Get(); |
@@ -114,7 +114,7 @@ ChromeAccessTokenStore::~ChromeAccessTokenStore() {} |
static void SetAccessTokenOnUIThread(const GURL& server_url, |
const base::string16& token) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DictionaryPrefUpdate update(g_browser_process->local_state(), |
prefs::kGeolocationAccessToken); |
base::DictionaryValue* access_token_dictionary = update.Get(); |