Index: chrome/browser/net/net_pref_observer.cc |
diff --git a/chrome/browser/net/net_pref_observer.cc b/chrome/browser/net/net_pref_observer.cc |
index 8027bdbb95a8b96e818d3cd98b0e50678d15edee..09c36d36ad7c4f392e77dc4f66c7a0ec443de609 100644 |
--- a/chrome/browser/net/net_pref_observer.cc |
+++ b/chrome/browser/net/net_pref_observer.cc |
@@ -15,7 +15,7 @@ |
using content::BrowserThread; |
NetPrefObserver::NetPrefObserver(PrefService* prefs) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(prefs); |
base::Closure prefs_callback = base::Bind(&NetPrefObserver::ApplySettings, |
@@ -26,11 +26,11 @@ NetPrefObserver::NetPrefObserver(PrefService* prefs) { |
} |
NetPrefObserver::~NetPrefObserver() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
} |
void NetPrefObserver::ApplySettings() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (spdy_disabled_.IsManaged()) |
net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_); |