| Index: chrome/browser/sync/glue/bookmark_change_processor.cc
|
| diff --git a/chrome/browser/sync/glue/bookmark_change_processor.cc b/chrome/browser/sync/glue/bookmark_change_processor.cc
|
| index ad7ab852baacadd3bfa1b726fb693b382e40beea..0336a78b604ce21d8f3eefc68c6b27f01db88495 100644
|
| --- a/chrome/browser/sync/glue/bookmark_change_processor.cc
|
| +++ b/chrome/browser/sync/glue/bookmark_change_processor.cc
|
| @@ -54,7 +54,7 @@ BookmarkChangeProcessor::BookmarkChangeProcessor(
|
| bookmark_model_(NULL),
|
| profile_(profile),
|
| model_associator_(model_associator) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| DCHECK(model_associator);
|
| DCHECK(profile);
|
| DCHECK(error_handler);
|
| @@ -66,7 +66,7 @@ BookmarkChangeProcessor::~BookmarkChangeProcessor() {
|
| }
|
|
|
| void BookmarkChangeProcessor::StartImpl() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| DCHECK(!bookmark_model_);
|
| bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_);
|
| DCHECK(bookmark_model_->loaded());
|
| @@ -524,7 +524,7 @@ void BookmarkChangeProcessor::ApplyChangesFromSyncModel(
|
| const syncer::BaseTransaction* trans,
|
| int64 model_version,
|
| const syncer::ImmutableChangeRecordList& changes) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| // A note about ordering. Sync backend is responsible for ordering the change
|
| // records in the following order:
|
| //
|
|
|