Index: chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc |
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc |
index 45ab3c0aa02de414a21a412b761ac82d7e6e5198..c5d9a7d76170b6e1d7c7321b43cd0eee4051c2a0 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc |
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc |
@@ -63,7 +63,7 @@ bool FileManagerPrivateSelectFileFunction::RunAsync() { |
void FileManagerPrivateSelectFileFunction::GetSelectedFileInfoResponse( |
int index, |
const std::vector<ui::SelectedFileInfo>& files) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (files.size() != 1) { |
SendResponse(false); |
return; |
@@ -97,7 +97,7 @@ bool FileManagerPrivateSelectFilesFunction::RunAsync() { |
void FileManagerPrivateSelectFilesFunction::GetSelectedFileInfoResponse( |
const std::vector<ui::SelectedFileInfo>& files) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (files.empty()) { |
SendResponse(false); |
return; |