Index: chrome/browser/chromeos/drive/file_system/remove_operation.cc |
diff --git a/chrome/browser/chromeos/drive/file_system/remove_operation.cc b/chrome/browser/chromeos/drive/file_system/remove_operation.cc |
index 9a4b30435e1ccb9b9e07e7d78b58fffc3738b29b..c3f7a1ed80b5fb43670091432f20da9ddfc686bf 100644 |
--- a/chrome/browser/chromeos/drive/file_system/remove_operation.cc |
+++ b/chrome/browser/chromeos/drive/file_system/remove_operation.cc |
@@ -70,17 +70,17 @@ RemoveOperation::RemoveOperation( |
metadata_(metadata), |
cache_(cache), |
weak_ptr_factory_(this) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
} |
RemoveOperation::~RemoveOperation() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
} |
void RemoveOperation::Remove(const base::FilePath& path, |
bool is_recursive, |
const FileOperationCallback& callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
std::string* local_id = new std::string; |
@@ -111,7 +111,7 @@ void RemoveOperation::RemoveAfterUpdateLocalState( |
const ResourceEntry* entry, |
const base::FilePath* changed_path, |
FileError error) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
if (!changed_path->empty()) { |