Index: media/filters/decrypting_demuxer_stream.cc |
diff --git a/media/filters/decrypting_demuxer_stream.cc b/media/filters/decrypting_demuxer_stream.cc |
index a64ad51bbfa83148674499c5bea3cb003bebef5f..ddba57c2e7446a5a275a0b884bdb74e2f4ee0142 100644 |
--- a/media/filters/decrypting_demuxer_stream.cc |
+++ b/media/filters/decrypting_demuxer_stream.cc |
@@ -153,7 +153,7 @@ void DecryptingDemuxerStream::DecryptBuffer( |
DCHECK(message_loop_->BelongsToCurrentThread()); |
DCHECK_EQ(state_, kPendingDemuxerRead) << state_; |
DCHECK(!read_cb_.is_null()); |
- DCHECK_EQ(buffer != NULL, status == kOk) << status; |
+ DCHECK_EQ(buffer.get() != NULL, status == kOk) << status; |
if (!reset_cb_.is_null()) { |
base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); |
@@ -210,7 +210,7 @@ void DecryptingDemuxerStream::DeliverBuffer( |
DCHECK_EQ(state_, kPendingDecrypt) << state_; |
DCHECK_NE(status, Decryptor::kNeedMoreData); |
DCHECK(!read_cb_.is_null()); |
- DCHECK(pending_buffer_to_decrypt_); |
+ DCHECK(pending_buffer_to_decrypt_.get()); |
bool need_to_try_again_if_nokey = key_added_while_decrypt_pending_; |
key_added_while_decrypt_pending_ = false; |