Index: chrome/test/base/testing_io_thread_state.cc |
diff --git a/chrome/test/base/testing_io_thread_state.cc b/chrome/test/base/testing_io_thread_state.cc |
index e79423fb67954f5baa05b86f75190734b01330f9..30b9069805556229a074c0c2b53f6dedf82d43e5 100644 |
--- a/chrome/test/base/testing_io_thread_state.cc |
+++ b/chrome/test/base/testing_io_thread_state.cc |
@@ -79,7 +79,7 @@ TestingIOThreadState::~TestingIOThreadState() { |
} |
void TestingIOThreadState::Initialize(const base::Closure& done) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
io_thread_state_->SetGlobalsForTesting(new IOThread::Globals()); |
@@ -87,7 +87,7 @@ void TestingIOThreadState::Initialize(const base::Closure& done) { |
} |
void TestingIOThreadState::Shutdown(const base::Closure& done) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
delete io_thread_state_->globals(); |
io_thread_state_->SetGlobalsForTesting(NULL); |