Index: components/navigation_interception/intercept_navigation_resource_throttle.cc |
diff --git a/components/navigation_interception/intercept_navigation_resource_throttle.cc b/components/navigation_interception/intercept_navigation_resource_throttle.cc |
index 675c060e1e66f5653bd85cc03df365dc7223ad17..05741e65c2101bdc3219ac6933cf1fbf47d32b5a 100644 |
--- a/components/navigation_interception/intercept_navigation_resource_throttle.cc |
+++ b/components/navigation_interception/intercept_navigation_resource_throttle.cc |
@@ -73,7 +73,7 @@ InterceptNavigationResourceThrottle::InterceptNavigationResourceThrottle( |
} |
InterceptNavigationResourceThrottle::~InterceptNavigationResourceThrottle() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
} |
void InterceptNavigationResourceThrottle::WillStartRequest(bool* defer) { |
@@ -134,7 +134,7 @@ bool InterceptNavigationResourceThrottle::CheckIfShouldIgnoreNavigation( |
void InterceptNavigationResourceThrottle::OnResultObtained( |
bool should_ignore_navigation) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (should_ignore_navigation) { |
controller()->CancelAndIgnore(); |