| Index: media/filters/decrypting_video_decoder.cc
|
| diff --git a/media/filters/decrypting_video_decoder.cc b/media/filters/decrypting_video_decoder.cc
|
| index ebb72c2ab09dc6883948d74ac793d8f37d1097a6..7117d753384fa7ab80d6323ceabe14a627f6a6fe 100644
|
| --- a/media/filters/decrypting_video_decoder.cc
|
| +++ b/media/filters/decrypting_video_decoder.cc
|
| @@ -125,7 +125,7 @@ void DecryptingVideoDecoder::Stop(const base::Closure& closure) {
|
| // render thread to be processing messages to complete (such as PPAPI
|
| // callbacks).
|
| if (decryptor_) {
|
| - decryptor_->RegisterKeyAddedCB(Decryptor::kVideo, Decryptor::KeyAddedCB());
|
| + decryptor_->RegisterNewKeyCB(Decryptor::kVideo, Decryptor::NewKeyCB());
|
| decryptor_->DeinitializeDecoder(Decryptor::kVideo);
|
| decryptor_ = NULL;
|
| }
|
| @@ -187,7 +187,7 @@ void DecryptingVideoDecoder::FinishInitialization(bool success) {
|
| return;
|
| }
|
|
|
| - decryptor_->RegisterKeyAddedCB(Decryptor::kVideo, BindToCurrentLoop(
|
| + decryptor_->RegisterNewKeyCB(Decryptor::kVideo, BindToCurrentLoop(
|
| base::Bind(&DecryptingVideoDecoder::OnKeyAdded, this)));
|
|
|
| // Success!
|
|
|