Index: chrome/browser/chromeos/drive/file_system/search_operation.cc |
diff --git a/chrome/browser/chromeos/drive/file_system/search_operation.cc b/chrome/browser/chromeos/drive/file_system/search_operation.cc |
index 535c8758cd8d4b11be3e47dd527702575e722d03..8b323174f5dc4e34872aef4673b63defc65cb92f 100644 |
--- a/chrome/browser/chromeos/drive/file_system/search_operation.cc |
+++ b/chrome/browser/chromeos/drive/file_system/search_operation.cc |
@@ -98,7 +98,7 @@ SearchOperation::~SearchOperation() { |
void SearchOperation::Search(const std::string& search_query, |
const GURL& next_link, |
const SearchCallback& callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
if (next_link.is_empty()) { |
@@ -120,7 +120,7 @@ void SearchOperation::SearchAfterGetFileList( |
const SearchCallback& callback, |
google_apis::DriveApiErrorCode gdata_error, |
scoped_ptr<google_apis::FileList> file_list) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
FileError error = GDataToFileError(gdata_error); |
@@ -167,7 +167,7 @@ void SearchOperation::SearchAfterResolveSearchResult( |
const GURL& next_link, |
scoped_ptr<std::vector<SearchResultInfo> > result, |
FileError error) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
DCHECK(result); |