Index: chrome/browser/chromeos/attestation/attestation_policy_observer.cc |
diff --git a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc |
index ee8d5de3765ae5914185d9c6a3d02c39c4f315ae..138d8b095a86bbde7ad8fb07c51cb3cd5b12f6b5 100644 |
--- a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc |
+++ b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc |
@@ -99,7 +99,7 @@ AttestationPolicyObserver::AttestationPolicyObserver( |
num_retries_(0), |
retry_delay_(kRetryDelay), |
weak_factory_(this) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
attestation_subscription_ = cros_settings_->AddSettingsObserver( |
kDeviceAttestationEnabled, |
base::Bind(&AttestationPolicyObserver::AttestationSettingChanged, |
@@ -118,7 +118,7 @@ AttestationPolicyObserver::AttestationPolicyObserver( |
num_retries_(0), |
retry_delay_(kRetryDelay), |
weak_factory_(this) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
attestation_subscription_ = cros_settings_->AddSettingsObserver( |
kDeviceAttestationEnabled, |
base::Bind(&AttestationPolicyObserver::AttestationSettingChanged, |
@@ -127,7 +127,7 @@ AttestationPolicyObserver::AttestationPolicyObserver( |
} |
AttestationPolicyObserver::~AttestationPolicyObserver() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
} |
void AttestationPolicyObserver::AttestationSettingChanged() { |