Index: chrome/browser/chromeos/login/session/user_session_manager.cc |
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc |
index 01d04f1dc20adfd536ba3e1f993708a715b3a565..3b79eeeda20a013b634b71845afea9dc5552a3f3 100644 |
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc |
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc |
@@ -476,12 +476,12 @@ void UserSessionManager::RestoreActiveSessions() { |
} |
bool UserSessionManager::UserSessionsRestored() const { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
return user_sessions_restored_; |
} |
bool UserSessionManager::UserSessionsRestoreInProgress() const { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
return user_sessions_restore_in_progress_; |
} |
@@ -673,13 +673,13 @@ bool UserSessionManager::CheckEasyUnlockKeyOps(const base::Closure& callback) { |
void UserSessionManager::AddSessionStateObserver( |
chromeos::UserSessionStateObserver* observer) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
session_state_observer_list_.AddObserver(observer); |
} |
void UserSessionManager::RemoveSessionStateObserver( |
chromeos::UserSessionStateObserver* observer) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
session_state_observer_list_.RemoveObserver(observer); |
} |