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

Unified Diff: chrome/browser/android/provider/blocking_ui_thread_async_request.cc

Issue 1095243002: [chrome/browser/android] 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/android/provider/blocking_ui_thread_async_request.cc
diff --git a/chrome/browser/android/provider/blocking_ui_thread_async_request.cc b/chrome/browser/android/provider/blocking_ui_thread_async_request.cc
index 7267e583ef55d4d8ae29219d8fcf466f6ab83ec3..4eb9811ed63aa68e8a87b5f1d713d36fe82df0d9 100644
--- a/chrome/browser/android/provider/blocking_ui_thread_async_request.cc
+++ b/chrome/browser/android/provider/blocking_ui_thread_async_request.cc
@@ -12,6 +12,6 @@ void BlockingUIThreadAsyncRequest::RequestCompleted() {
// Currently all our use cases receive their request response in the UI
// thread (the same thread that made the request). However this is not
// a design constraint and can be changed if ever needed.
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
request_completed_.Signal();
}

Powered by Google App Engine
This is Rietveld 408576698