Index: chrome/browser/chromeos/mobile/mobile_activator.cc |
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.cc b/chrome/browser/chromeos/mobile/mobile_activator.cc |
index 73b5d445a3212d96fbcac75b6c51a066e23accdd..02b0b534e02683cb0d14811aeb49904d09930e38 100644 |
--- a/chrome/browser/chromeos/mobile/mobile_activator.cc |
+++ b/chrome/browser/chromeos/mobile/mobile_activator.cc |
@@ -239,17 +239,17 @@ void MobileActivator::NetworkPropertiesUpdated(const NetworkState* network) { |
} |
void MobileActivator::AddObserver(MobileActivator::Observer* observer) { |
- DCHECK(content::BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
observers_.AddObserver(observer); |
} |
void MobileActivator::RemoveObserver(MobileActivator::Observer* observer) { |
- DCHECK(content::BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
observers_.RemoveObserver(observer); |
} |
void MobileActivator::InitiateActivation(const std::string& service_path) { |
- DCHECK(content::BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
const NetworkState* network = GetNetworkState(service_path); |
if (!network) { |
LOG(WARNING) << "Cellular service can't be found: " << service_path; |