summaryrefslogtreecommitdiffstats
path: root/net/base/dns_reloader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/dns_reloader.cc')
-rw-r--r--net/base/dns_reloader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/dns_reloader.cc b/net/base/dns_reloader.cc
index 1902820..04abcb1 100644
--- a/net/base/dns_reloader.cc
+++ b/net/base/dns_reloader.cc
@@ -47,7 +47,7 @@ class DnsReloader : public net::NetworkChangeNotifier::DNSObserver {
// NetworkChangeNotifier::DNSObserver:
virtual void OnDNSChanged() OVERRIDE {
- DCHECK_EQ(base::MessageLoop::current()->type(), base::MessageLoop::TYPE_IO);
+ DCHECK(base::MessageLoopForIO::IsCurrent());
base::AutoLock l(lock_);
resolver_generation_++;
}