Index: content/common/gpu/media/vp9_decoder.cc |
diff --git a/content/common/gpu/media/vp9_decoder.cc b/content/common/gpu/media/vp9_decoder.cc |
index c1adc84bbdeb2561c3523588e4d61f8825b07079..7c25832cdc12c89cd6895f6c56744cc620c3d0da 100644 |
--- a/content/common/gpu/media/vp9_decoder.cc |
+++ b/content/common/gpu/media/vp9_decoder.cc |
@@ -138,7 +138,8 @@ |
void VP9Decoder::RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic) { |
for (size_t i = 0; i < media::kVp9NumRefFrames; ++i) { |
- DCHECK(!pic->frame_hdr->IsKeyframe() || pic->frame_hdr->RefreshFlag(i)); |
+ DCHECK_IMPLIES(pic->frame_hdr->IsKeyframe(), |
+ pic->frame_hdr->RefreshFlag(i)); |
if (pic->frame_hdr->RefreshFlag(i)) |
ref_frames_[i] = pic; |
} |