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

Unified Diff: base/debug/trace_event.cc

Issue 8341026: Replace most LOG/CHECK statements with DLOG/DCHECK statements in base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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: base/debug/trace_event.cc
===================================================================
--- base/debug/trace_event.cc (revision 107052)
+++ base/debug/trace_event.cc (working copy)
@@ -322,7 +322,7 @@
const TraceCategory* TraceLog::GetCategory(const char* name) {
TraceLog* tracelog = GetInstance();
if (!tracelog){
- CHECK(!g_category_already_shutdown->enabled);
+ DCHECK(!g_category_already_shutdown->enabled);
return g_category_already_shutdown;
}
return tracelog->GetCategoryInternal(name);

Powered by Google App Engine
This is Rietveld 408576698