Index: webkit/media/crypto/ppapi_decryptor.cc |
diff --git a/webkit/media/crypto/ppapi_decryptor.cc b/webkit/media/crypto/ppapi_decryptor.cc |
index 8a2d7a175240553b0c03779d1a27e2625a642e89..5ae10c3fdf4a430bf76adc5f70cdb6cd29679545 100644 |
--- a/webkit/media/crypto/ppapi_decryptor.cc |
+++ b/webkit/media/crypto/ppapi_decryptor.cc |
@@ -40,6 +40,7 @@ PpapiDecryptor::~PpapiDecryptor() { |
} |
bool PpapiDecryptor::GenerateKeyRequest(const std::string& key_system, |
+ const std::string& type, |
const uint8* init_data, |
int init_data_length) { |
DVLOG(2) << "GenerateKeyRequest()"; |
@@ -50,6 +51,7 @@ bool PpapiDecryptor::GenerateKeyRequest(const std::string& key_system, |
// data type conversions. |
if (!cdm_plugin_->GenerateKeyRequest( |
key_system, |
+ type, |
std::string(reinterpret_cast<const char*>(init_data), |
init_data_length))) { |
ReportFailureToCallPlugin(key_system, ""); |