Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: webkit/media/crypto/proxy_decryptor_unittest.cc

Issue 10964055: Call Decryptor::Stop() in FFmpegVideoDecoder::Reset(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/media/crypto/proxy_decryptor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/crypto/proxy_decryptor_unittest.cc
diff --git a/webkit/media/crypto/proxy_decryptor_unittest.cc b/webkit/media/crypto/proxy_decryptor_unittest.cc
index 826d861ffa5544cb6b27b99a86d93bb33f493d91..bc0a0de45e3553b4ff5b6592da527bf546cb07eb 100644
--- a/webkit/media/crypto/proxy_decryptor_unittest.cc
+++ b/webkit/media/crypto/proxy_decryptor_unittest.cc
@@ -214,10 +214,10 @@ TEST_F(ProxyDecryptorTest, StopWhenDecryptionsPending) {
AddKey(); // An irrelevant key is added.
proxy_decryptor_.Decrypt(encrypted_buffer_, decrypt_cb_);
- EXPECT_CALL(*real_decryptor_, Stop());
+ EXPECT_CALL(*real_decryptor_, CancelDecrypt());
EXPECT_CALL(*this, BufferDecrypted(Decryptor::kError, null_buffer_))
.Times(3);
- proxy_decryptor_.Stop();
+ proxy_decryptor_.CancelDecrypt();
message_loop_.PostTask(FROM_HERE, MessageLoop::QuitClosure());
message_loop_.Run();
« no previous file with comments | « webkit/media/crypto/proxy_decryptor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698