Index: media/filters/video_renderer_base.cc |
diff --git a/media/filters/video_renderer_base.cc b/media/filters/video_renderer_base.cc |
index 84e48c4e64c2dca2537e1d23a7be25fd9c63dcec..a39c8b09848ea07fe6fc04071e8bfb9cd261e948 100644 |
--- a/media/filters/video_renderer_base.cc |
+++ b/media/filters/video_renderer_base.cc |
@@ -341,7 +341,7 @@ void VideoRendererBase::FrameReady(VideoDecoder::Status status, |
pending_read_ = false; |
if (status != VideoDecoder::kOk) { |
- DCHECK(!frame); |
+ DCHECK(!frame.get()); |
PipelineStatus error = PIPELINE_ERROR_DECODE; |
if (status == VideoDecoder::kDecryptError) |
error = PIPELINE_ERROR_DECRYPT; |
@@ -366,7 +366,7 @@ void VideoRendererBase::FrameReady(VideoDecoder::Status status, |
return; |
} |
- if (!frame) { |
+ if (!frame.get()) { |
// Abort preroll early for a NULL frame because we won't get more frames. |
// A new preroll will be requested after this one completes so there is no |
// point trying to collect more frames. |