Index: chrome/browser/chromeos/external_metrics.cc |
diff --git a/chrome/browser/chromeos/external_metrics.cc b/chrome/browser/chromeos/external_metrics.cc |
index d9fe9cdda4a5193ad247404ad21ddd3f08e0fed9..2f1d1f95705faad6485c10238b1cf8990b336edc 100644 |
--- a/chrome/browser/chromeos/external_metrics.cc |
+++ b/chrome/browser/chromeos/external_metrics.cc |
@@ -50,7 +50,7 @@ bool CheckLinearValues(const std::string& name, int maximum) { |
// Establishes field trial for wifi scanning in chromeos. crbug.com/242733. |
void SetupProgressiveScanFieldTrial() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE); |
const char name_of_experiment[] = "ProgressiveScan"; |
const base::FilePath group_file_path( |
"/home/chronos/.progressive_scan_variation"); |
@@ -251,7 +251,7 @@ void ExternalMetrics::ScheduleCollector() { |
} |
void ExternalMetrics::SetupFieldTrialsOnFileThread() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE); |
// Field trials that do not read from files can be initialized in |
// ExternalMetrics::Start() above. |
SetupProgressiveScanFieldTrial(); |