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

Unified Diff: content/browser/tcmalloc_internals_request_job.cc

Issue 1005683003: favor DCHECK_CURRENTLY_ON for better logs in content/browser/[q-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « content/browser/streams/stream_context.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tcmalloc_internals_request_job.cc
diff --git a/content/browser/tcmalloc_internals_request_job.cc b/content/browser/tcmalloc_internals_request_job.cc
index 58e78afeea29d3ad8e5e05a7ed6aca5327ae6a9e..85ec2ed1c92268ad3e3603f97301fd60ad647ad5 100644
--- a/content/browser/tcmalloc_internals_request_job.cc
+++ b/content/browser/tcmalloc_internals_request_job.cc
@@ -33,13 +33,13 @@ void AboutTcmallocOutputs::OnStatsForChildProcess(
void AboutTcmallocOutputs::SetOutput(const std::string& header,
const std::string& output) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
outputs_[header] = output;
}
void AboutTcmallocOutputs::DumpToHTMLTable(std::string* data) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
data->append("<table width=\"100%\">\n");
for (AboutTcmallocOutputsType::const_iterator oit = outputs_.begin();
« no previous file with comments | « content/browser/streams/stream_context.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698