Index: content/browser/frame_host/interstitial_page_impl.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc |
index 1324c7321a9073ec4348cb5e7388c043f817f5d1..197d9d4294179845bb206e09cfd715aec7577c86 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.cc |
+++ b/content/browser/frame_host/interstitial_page_impl.cc |
@@ -781,8 +781,7 @@ void InterstitialPageImpl::OnNavigatingAwayOrTabClosing() { |
void InterstitialPageImpl::TakeActionOnResourceDispatcher( |
ResourceRequestAction action) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)) << |
- "TakeActionOnResourceDispatcher should be called on the main thread."; |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (action == CANCEL || action == RESUME) { |
if (resource_dispatcher_host_notified_) |