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

Unified Diff: chrome/browser/apps/app_url_redirector.cc

Issue 1098103002: [chrome/browser/apps] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: chrome/browser/apps/app_url_redirector.cc
diff --git a/chrome/browser/apps/app_url_redirector.cc b/chrome/browser/apps/app_url_redirector.cc
index 623a7d0cc9a2ceb14e2b796311f44660a33ff7e5..cf151693b32f03671b7a2912b54c15b084059bd0 100644
--- a/chrome/browser/apps/app_url_redirector.cc
+++ b/chrome/browser/apps/app_url_redirector.cc
@@ -37,7 +37,7 @@ bool LaunchAppWithUrl(
const std::string& handler_id,
content::WebContents* source,
const navigation_interception::NavigationParams& params) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Redirect top-level navigations only. This excludes iframes and webviews
// in particular.
« no previous file with comments | « chrome/browser/apps/app_shim/app_shim_host_manager_mac.mm ('k') | chrome/browser/apps/ephemeral_app_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698