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

Unified Diff: content/browser/browser_ipc_logging.cc

Issue 1008613002: favor DCHECK_CURRENTLY_ON for better logs in content/browser/[a-d]* (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/browser_context.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_ipc_logging.cc
diff --git a/content/browser/browser_ipc_logging.cc b/content/browser/browser_ipc_logging.cc
index 20a56f6f6d5f0bf31addb83f9f27672ecf72f9a6..7e7f05e1b70a5b197b5e28ea9053e353a4d4790c 100644
--- a/content/browser/browser_ipc_logging.cc
+++ b/content/browser/browser_ipc_logging.cc
@@ -16,7 +16,7 @@ namespace content {
#if defined(IPC_MESSAGE_LOG_ENABLED)
void EnableIPCLoggingForChildProcesses(bool enabled) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
BrowserChildProcessHostIterator i; // default constr references a singleton
while (!i.Done()) {
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698