Index: content/browser/devtools/devtools_netlog_observer.cc |
diff --git a/content/browser/devtools/devtools_netlog_observer.cc b/content/browser/devtools/devtools_netlog_observer.cc |
index 2e8495200ba519169b8a03d31dd09dd047b86b3d..4406aea998b1cb6c7451fd4079957e304586f660 100644 |
--- a/content/browser/devtools/devtools_netlog_observer.cc |
+++ b/content/browser/devtools/devtools_netlog_observer.cc |
@@ -46,7 +46,7 @@ void DevToolsNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) { |
void DevToolsNetLogObserver::OnAddURLRequestEntry( |
const net::NetLog::Entry& entry) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
bool is_begin = entry.phase() == net::NetLog::PHASE_BEGIN; |
bool is_end = entry.phase() == net::NetLog::PHASE_END; |
@@ -174,7 +174,7 @@ void DevToolsNetLogObserver::Attach() { |
} |
void DevToolsNetLogObserver::Detach() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (instance_) { |
// Safest not to do this in the destructor to maintain thread safety across |
@@ -186,7 +186,7 @@ void DevToolsNetLogObserver::Detach() { |
} |
DevToolsNetLogObserver* DevToolsNetLogObserver::GetInstance() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
return instance_; |
} |