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

Unified Diff: chrome/browser/sessions/base_session_service_delegate_impl.cc

Issue 1106593002: [chrome/browser/se*-ss*] 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/sessions/base_session_service_delegate_impl.cc
diff --git a/chrome/browser/sessions/base_session_service_delegate_impl.cc b/chrome/browser/sessions/base_session_service_delegate_impl.cc
index cd584bf87ae77f64a89e5f72ab282787229a63cb..6f7255c46561a126fa73769541746450f1c74650 100644
--- a/chrome/browser/sessions/base_session_service_delegate_impl.cc
+++ b/chrome/browser/sessions/base_session_service_delegate_impl.cc
@@ -13,7 +13,7 @@ BaseSessionServiceDelegateImpl::BaseSessionServiceDelegateImpl(
: should_use_delayed_save_(should_use_delayed_save) {}
base::SequencedWorkerPool* BaseSessionServiceDelegateImpl::GetBlockingPool() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
return content::BrowserThread::GetBlockingPool();
}
« no previous file with comments | « chrome/browser/service_process/service_process_control.cc ('k') | chrome/browser/sessions/session_data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698