Index: media/filters/decrypting_audio_decoder.cc |
diff --git a/media/filters/decrypting_audio_decoder.cc b/media/filters/decrypting_audio_decoder.cc |
index 42d7a1b18241a6a1d6fd313aa9fd152db30eab32..b55907ee6bb3acb8dc2076148e7e4a476e09c92c 100644 |
--- a/media/filters/decrypting_audio_decoder.cc |
+++ b/media/filters/decrypting_audio_decoder.cc |
@@ -199,7 +199,7 @@ void DecryptingAudioDecoder::FinishInitialization(bool success) { |
bytes_per_sample_ = ChannelLayoutToChannelCount(channel_layout_) * |
bits_per_channel_ / kBitsPerByte; |
- decryptor_->RegisterKeyAddedCB( |
+ decryptor_->RegisterNewKeyCB( |
Decryptor::kAudio, BIND_TO_LOOP(&DecryptingAudioDecoder::OnKeyAdded)); |
state_ = kIdle; |