Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc

Issue 1043013002: favor DCHECK_CURRENTLY_ON for better logs in components/ (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master + add one more Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
index cc340ca1e89cbca89970032111fb540786d58c40..1b00b190ae339b5d664e56fdd5d473d57efbcac3 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
@@ -45,7 +45,7 @@ DataReductionProxyDebugResourceThrottle::MaybeCreate(
void DataReductionProxyDebugResourceThrottle::StartDisplayingBlockingPage(
scoped_refptr<DataReductionProxyDebugUIManager> ui_manager,
const DataReductionProxyDebugUIManager::BypassResource& resource) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
ui_manager->DisplayBlockingPage(resource);
}

Powered by Google App Engine
This is Rietveld 408576698