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

Unified Diff: content/browser/download/base_file_linux.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/download/base_file.cc ('k') | content/browser/download/base_file_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/base_file_linux.cc
diff --git a/content/browser/download/base_file_linux.cc b/content/browser/download/base_file_linux.cc
index ee8d1fa8587e1e599ad48beb1a7e323df240630b..721cd60269432dea77def58ea658c356c25609ec 100644
--- a/content/browser/download/base_file_linux.cc
+++ b/content/browser/download/base_file_linux.cc
@@ -10,7 +10,7 @@
namespace content {
DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE);
DCHECK(!detached_);
AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
« no previous file with comments | « content/browser/download/base_file.cc ('k') | content/browser/download/base_file_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698