Index: base/threading/platform_thread_win.cc |
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
index 230178d646bf61543235560486fcda4cc7e42c6f..7a7595bd0947afa9c6639460d0dcb43e99a095e8 100644 |
--- a/base/threading/platform_thread_win.cc |
+++ b/base/threading/platform_thread_win.cc |
@@ -251,7 +251,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(), |