Index: media/filters/decrypting_video_decoder_unittest.cc |
diff --git a/media/filters/decrypting_video_decoder_unittest.cc b/media/filters/decrypting_video_decoder_unittest.cc |
index 7da9a3752292e5860579f8a68c3f56211fc18ffb..4b225714f513afd92607fd4f38a274ff1a3a4c1e 100644 |
--- a/media/filters/decrypting_video_decoder_unittest.cc |
+++ b/media/filters/decrypting_video_decoder_unittest.cc |
@@ -19,7 +19,6 @@ |
using ::testing::_; |
using ::testing::AtMost; |
-using ::testing::Invoke; |
using ::testing::IsNull; |
using ::testing::ReturnRef; |
using ::testing::SaveArg; |
@@ -89,7 +88,7 @@ MATCHER(IsEndOfStream, "") { |
class DecryptingVideoDecoderTest : public testing::Test { |
public: |
DecryptingVideoDecoderTest() |
- : decoder_(new StrictMock<DecryptingVideoDecoder>( |
+ : decoder_(new DecryptingVideoDecoder( |
base::Bind(&Identity<scoped_refptr<base::MessageLoopProxy> >, |
message_loop_.message_loop_proxy()), |
base::Bind( |
@@ -249,7 +248,7 @@ class DecryptingVideoDecoderTest : public testing::Test { |
const scoped_refptr<VideoFrame>&)); |
MessageLoop message_loop_; |
- scoped_refptr<StrictMock<DecryptingVideoDecoder> > decoder_; |
+ scoped_refptr<DecryptingVideoDecoder> decoder_; |
scoped_ptr<StrictMock<MockDecryptor> > decryptor_; |
scoped_refptr<StrictMock<MockDemuxerStream> > demuxer_; |
MockStatisticsCB statistics_cb_; |