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..cd174b83891834b4e822e4095a9c658cd1f8b98b 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 DCHECK_IS_ON() |
const BOOL success = |
#endif |
::SetThreadPriority(PlatformThread::CurrentHandle().platform_handle(), |