Index: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
index 7b95e6d7583e42f3be5f083f456c2c475f714109..165289bd910f2ac8e40722967bac62e2b5a93f60 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
@@ -732,7 +732,7 @@ class HTML5FileWriter { |
static void CopyInCompletion(bool* result, |
base::WaitableEvent* done_event, |
base::File::Error error) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
*result = error == base::File::FILE_OK; |
done_event->Signal(); |
} |
@@ -743,7 +743,7 @@ class HTML5FileWriter { |
const base::FilePath& temp_file, |
bool* result, |
base::WaitableEvent* done_event) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
context->operation_runner()->CopyInForeignFile( |
temp_file, path, |
base::Bind(&CopyInCompletion, |