Index: chrome/browser/sync/test/integration/autofill_helper.cc |
diff --git a/chrome/browser/sync/test/integration/autofill_helper.cc b/chrome/browser/sync/test/integration/autofill_helper.cc |
index b5877fc5c3692043629ba94b0470ca1de15bdf17..957de84de9b5faff4cda647a1a9d6bd0010104a9 100644 |
--- a/chrome/browser/sync/test/integration/autofill_helper.cc |
+++ b/chrome/browser/sync/test/integration/autofill_helper.cc |
@@ -101,14 +101,14 @@ void RemoveKeyDontBlockForSync(int profile, const AutofillKey& key) { |
void GetAllAutofillEntriesOnDBThread(AutofillWebDataService* wds, |
std::vector<AutofillEntry>* entries) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::DB); |
AutofillTable::FromWebDatabase( |
wds->GetDatabase())->GetAllAutofillEntries(entries); |
} |
std::vector<AutofillEntry> GetAllAutofillEntries(AutofillWebDataService* wds) { |
std::vector<AutofillEntry> entries; |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
RunOnDBThreadAndBlock(Bind(&GetAllAutofillEntriesOnDBThread, |
Unretained(wds), |
&entries)); |