Index: chrome/browser/autocomplete/in_memory_url_index.cc |
diff --git a/chrome/browser/autocomplete/in_memory_url_index.cc b/chrome/browser/autocomplete/in_memory_url_index.cc |
index 62236aeadf70e83ba798413905a20115f17526f9..582a43fec3e688ae8313521c42b3e29d0d626da2 100644 |
--- a/chrome/browser/autocomplete/in_memory_url_index.cc |
+++ b/chrome/browser/autocomplete/in_memory_url_index.cc |
@@ -208,7 +208,7 @@ void InMemoryURLIndex::OnHistoryServiceLoaded( |
// Restoring from Cache -------------------------------------------------------- |
void InMemoryURLIndex::PostRestoreFromCacheFileTask() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
TRACE_EVENT0("browser", "InMemoryURLIndex::PostRestoreFromCacheFileTask"); |
base::FilePath path; |
@@ -286,7 +286,7 @@ void InMemoryURLIndex::ScheduleRebuildFromHistory() { |
void InMemoryURLIndex::DoneRebuidingPrivateDataFromHistoryDB( |
bool succeeded, |
scoped_refptr<URLIndexPrivateData> private_data) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (succeeded) { |
private_data_tracker_.TryCancelAll(); |
private_data_ = private_data; |