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

Unified Diff: components/nacl/browser/pnacl_host.cc

Issue 1004933003: favor DCHECK_CURRENTLY_ON for better logs in components/ (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
Index: components/nacl/browser/pnacl_host.cc
diff --git a/components/nacl/browser/pnacl_host.cc b/components/nacl/browser/pnacl_host.cc
index 206938545f53b80f558254a61f26d18dc4dd2a3b..bae7e97d86cbe722a7d90fde8d5c405f3aab5803 100644
--- a/components/nacl/browser/pnacl_host.cc
+++ b/components/nacl/browser/pnacl_host.cc
@@ -147,7 +147,7 @@ void PnaclHost::OnCacheInitialized(int net_error) {
void PnaclHost::Init() {
// Extra check that we're on the real IO thread since this version of
// Init isn't used in unit tests.
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(thread_checker_.CalledOnValidThread());
base::FilePath cache_path(GetCachePath());
if (cache_path.empty() || cache_state_ != CacheUninitialized)
« no previous file with comments | « components/nacl/browser/nacl_file_host.cc ('k') | components/navigation_interception/intercept_navigation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698