Index: chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
diff --git a/chrome/browser/chromeos/drive/file_system/truncate_operation.cc b/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
index 46a7ddaa34f1b6884156ee49801256b4235169ce..44c3302e2ff6a183b39153de08148c1d23d5fc75 100644 |
--- a/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
+++ b/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
@@ -80,7 +80,7 @@ TruncateOperation::~TruncateOperation() { |
void TruncateOperation::Truncate(const base::FilePath& file_path, |
int64 length, |
const FileOperationCallback& callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
if (length < 0) { |
@@ -107,7 +107,7 @@ void TruncateOperation::TruncateAfterEnsureFileDownloadedByPath( |
FileError error, |
const base::FilePath& local_file_path, |
scoped_ptr<ResourceEntry> entry) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
if (error != FILE_ERROR_OK) { |
@@ -136,7 +136,7 @@ void TruncateOperation::TruncateAfterTruncateOnBlockingPool( |
const std::string& local_id, |
const FileOperationCallback& callback, |
FileError error) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(!callback.is_null()); |
delegate_->OnEntryUpdatedByOperation(ClientContext(USER_INITIATED), local_id); |