Index: media/cast/receiver/cast_receiver_impl.cc |
diff --git a/media/cast/receiver/cast_receiver_impl.cc b/media/cast/receiver/cast_receiver_impl.cc |
index 36669b9e621b24c40a60b0e5c5f0083b94298e97..6c588b73fe6f69ea31befbc6504e94896239528a 100644 |
--- a/media/cast/receiver/cast_receiver_impl.cc |
+++ b/media/cast/receiver/cast_receiver_impl.cc |
@@ -211,7 +211,7 @@ void CastReceiverImpl::EmitDecodedVideoFrame( |
const scoped_refptr<VideoFrame>& video_frame, |
bool is_continuous) { |
DCHECK(cast_environment->CurrentlyOn(CastEnvironment::MAIN)); |
- if (video_frame) { |
+ if (video_frame.get()) { |
const base::TimeTicks now = cast_environment->Clock()->NowTicks(); |
cast_environment->Logging()->InsertFrameEvent( |
now, FRAME_DECODED, VIDEO_EVENT, rtp_timestamp, frame_id); |