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

Unified Diff: base/threading/platform_thread_win.cc

Issue 2163023002: Unify usage of logging/assert macros in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: base/threading/platform_thread_win.cc
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
index 6030992d68078a5baa98f93fe396c294eb2b9423..54a7d9350403eae5207c3d40a948b5aded06bdc4 100644
--- a/base/threading/platform_thread_win.cc
+++ b/base/threading/platform_thread_win.cc
@@ -246,7 +246,7 @@ void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) {
}
DCHECK_NE(desired_priority, THREAD_PRIORITY_ERROR_RETURN);
-#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
+#if ENABLE_DLOG
const BOOL success =
#endif
::SetThreadPriority(PlatformThread::CurrentHandle().platform_handle(),

Powered by Google App Engine
This is Rietveld 408576698