Index: base/threading/platform_thread_win.cc |
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
index d5bd9bed08e7978714d989c2a3afcf4a135bed69..eae236634d1d9f98618d53508af11208ad0b6781 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); |
-#ifndef NDEBUG |
+#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) |
const BOOL success = |
#endif |
::SetThreadPriority(PlatformThread::CurrentHandle().platform_handle(), |