| Index: webkit/media/crypto/ppapi/clear_key_cdm.cc
|
| diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.cc b/webkit/media/crypto/ppapi/clear_key_cdm.cc
|
| index dd6a3dc3427cb8d5d342454749d7d7e84c3e7710..040538add72896ab337742dea63439bf84ef96e9 100644
|
| --- a/webkit/media/crypto/ppapi/clear_key_cdm.cc
|
| +++ b/webkit/media/crypto/ppapi/clear_key_cdm.cc
|
| @@ -166,6 +166,7 @@ void ClearKeyCdm::Client::KeyMessage(const std::string& key_system,
|
|
|
| void ClearKeyCdm::Client::NeedKey(const std::string& key_system,
|
| const std::string& session_id,
|
| + const std::string& type,
|
| scoped_array<uint8> init_data,
|
| int init_data_length) {
|
| // In the current implementation of AesDecryptor, NeedKey is not used.
|
| @@ -195,7 +196,8 @@ cdm::Status ClearKeyCdm::GenerateKeyRequest(const uint8_t* init_data,
|
| DVLOG(1) << "GenerateKeyRequest()";
|
| base::AutoLock auto_lock(client_lock_);
|
| ScopedResetter<Client> auto_resetter(&client_);
|
| - decryptor_.GenerateKeyRequest("", init_data, init_data_size);
|
| + // TODO(xhwang): Pass type here.
|
| + decryptor_.GenerateKeyRequest("", "", init_data, init_data_size);
|
|
|
| if (client_.status() != Client::kKeyMessage)
|
| return cdm::kSessionError;
|
|
|