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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.cc

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: content/common/gpu/media/gpu_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
index f741cb20418fbecfa99b83d54dd814f131c33892..90b51ccfde4ec127e21dc1761f89cae8988decef 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
@@ -62,7 +62,7 @@ static bool MakeDecoderContextCurrent(
// DebugAutoLock works like AutoLock but only acquires the lock when
// DCHECK is on.
-#if DCHECK_IS_ON
+#if !DCHECK_IS_OFF
typedef base::AutoLock DebugAutoLock;
#else
class DebugAutoLock {

Powered by Google App Engine
This is Rietveld 408576698