Index: chrome/browser/media_galleries/fileapi/native_media_file_util.cc |
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc |
index 9584beded6c49a74a85c39c913811b02a28ffd9c..79dc4f0d205dca4afa5628b3c9b587a23cfe2207 100644 |
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc |
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc |
@@ -54,7 +54,7 @@ void DidOpenSnapshot( |
const storage::AsyncFileUtil::CreateOrOpenCallback& callback, |
const scoped_refptr<storage::ShareableFileReference>& file_ref, |
base::File file) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
if (!file.IsValid()) { |
callback.Run(file.Pass(), base::Closure()); |
return; |
@@ -104,7 +104,7 @@ void NativeMediaFileUtil::CreatedSnapshotFileForCreateOrOpen( |
const base::File::Info& file_info, |
const base::FilePath& platform_path, |
const scoped_refptr<storage::ShareableFileReference>& file_ref) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
if (result != base::File::FILE_OK) { |
callback.Run(base::File(), base::Closure()); |
return; |