| Index: webkit/media/crypto/ppapi/cdm_wrapper.cc
|
| diff --git a/webkit/media/crypto/ppapi/cdm_wrapper.cc b/webkit/media/crypto/ppapi/cdm_wrapper.cc
|
| index 88baa44062b74920ed0ee272db53ec8c29824e7b..735de6e23162e3e93a6322ad3b54a63bb559dd0a 100644
|
| --- a/webkit/media/crypto/ppapi/cdm_wrapper.cc
|
| +++ b/webkit/media/crypto/ppapi/cdm_wrapper.cc
|
| @@ -233,7 +233,6 @@ bool CdmWrapper::Decrypt(pp::Buffer_Dev encrypted_buffer,
|
| status,
|
| output_buffer,
|
| encrypted_block_info.tracking_info));
|
| -
|
| return true;
|
| }
|
|
|
| @@ -294,7 +293,8 @@ void CdmWrapper::DeliverBlock(int32_t result,
|
| const cdm::Status& status,
|
| cdm::OutputBuffer& output_buffer,
|
| const PP_DecryptTrackingInfo& tracking_info) {
|
| - pp::Buffer_Dev decrypted_buffer(MakeBufferResource(output_buffer.data,
|
| + pp::Buffer_Dev decrypted_buffer(pp::PassRef(),
|
| + MakeBufferResource(output_buffer.data,
|
| output_buffer.data_size));
|
|
|
| PP_DecryptedBlockInfo decrypted_block_info;
|
|
|