Index: content/renderer/media/rtc_encoding_video_capturer.cc |
diff --git a/content/renderer/media/rtc_encoding_video_capturer.cc b/content/renderer/media/rtc_encoding_video_capturer.cc |
index 87367efde151b54eb9bd41405b8be6fad07eb595..ff022d44fca6a42c8b9a13f61615a094e327a1a4 100644 |
--- a/content/renderer/media/rtc_encoding_video_capturer.cc |
+++ b/content/renderer/media/rtc_encoding_video_capturer.cc |
@@ -97,7 +97,7 @@ void RtcEncodingVideoCapturer::EncodedVideoSourceClient::OnClosed() { |
void RtcEncodingVideoCapturer::EncodedVideoSourceClient::OnBufferReady( |
scoped_refptr<const media::EncodedBitstreamBuffer> buffer) { |
- DCHECK(!finished_ && buffer); |
+ DCHECK(!finished_ && buffer.get()); |
// First buffer constitutes the origin of the time for this bitstream context. |
if (time_base_.is_null()) |