Index: chrome/browser/sync/glue/typed_url_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.cc b/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
index ab2b1a5bd2bf30c5872e605982986989f38cf28e..cef7363d6eb0473fda8a13ed102b46cd5dcad2ea 100644 |
--- a/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
@@ -93,7 +93,7 @@ syncer::ModelSafeGroup TypedUrlDataTypeController::model_safe_group() |
} |
bool TypedUrlDataTypeController::ReadyForStart() const { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
return !profile()->GetPrefs()->GetBoolean( |
prefs::kSavingBrowserHistoryDisabled); |
} |
@@ -104,7 +104,7 @@ void TypedUrlDataTypeController::SetBackend(history::HistoryBackend* backend) { |
} |
void TypedUrlDataTypeController::OnSavingBrowserHistoryDisabledChanged() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (profile()->GetPrefs()->GetBoolean( |
prefs::kSavingBrowserHistoryDisabled)) { |
// We've turned off history persistence, so if we are running, |
@@ -124,7 +124,7 @@ void TypedUrlDataTypeController::OnSavingBrowserHistoryDisabledChanged() { |
bool TypedUrlDataTypeController::PostTaskOnBackendThread( |
const tracked_objects::Location& from_here, |
const base::Closure& task) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
history::HistoryService* history = HistoryServiceFactory::GetForProfile( |
profile(), ServiceAccessType::IMPLICIT_ACCESS); |
if (history) { |