Index: media/crypto/aes_decryptor.cc |
diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc |
index 6402ef0fb2bf30fb43af91bab1eea49b1acdb6cc..65b736a72fce4290e723453c4bfbed05011d080b 100644 |
--- a/media/crypto/aes_decryptor.cc |
+++ b/media/crypto/aes_decryptor.cc |
@@ -253,8 +253,8 @@ void AesDecryptor::Decrypt(StreamType stream_type, |
} |
crypto::SymmetricKey* decryption_key = key->decryption_key(); |
- decrypted = DecryptData(*encrypted, decryption_key); |
- if (!decrypted) { |
+ decrypted = DecryptData(*encrypted.get(), decryption_key); |
+ if (!decrypted.get()) { |
DVLOG(1) << "Decryption failed."; |
decrypt_cb.Run(kError, NULL); |
return; |