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

Unified Diff: content/browser/histogram_message_filter.cc

Issue 1081413004: [content] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/histogram_message_filter.cc
diff --git a/content/browser/histogram_message_filter.cc b/content/browser/histogram_message_filter.cc
index 8eb7c7231baebe20a06de219afb6bf144bff62e1..a93a309387a8b6b469112bb96a4156d558e6ea8c 100644
--- a/content/browser/histogram_message_filter.cc
+++ b/content/browser/histogram_message_filter.cc
@@ -41,7 +41,7 @@ void HistogramMessageFilter::OnChildHistogramData(
void HistogramMessageFilter::OnGetBrowserHistogram(
const std::string& name,
std::string* histogram_json) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
// Security: Only allow access to browser histograms when running in the
// context of a test.
bool using_stats_collection_controller =
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698