| Index: ppapi/cpp/private/content_decryptor_private.cc
|
| diff --git a/ppapi/cpp/private/content_decryptor_private.cc b/ppapi/cpp/private/content_decryptor_private.cc
|
| index 633215a6d4cfcb0284a7e51d76bf6a9259150d32..6df9c2df0da640b74d505aba25716b0ff90de5a5 100644
|
| --- a/ppapi/cpp/private/content_decryptor_private.cc
|
| +++ b/ppapi/cpp/private/content_decryptor_private.cc
|
| @@ -101,7 +101,7 @@ PP_Bool Decrypt(PP_Instance instance,
|
| if (!object)
|
| return PP_FALSE;
|
|
|
| - pp::Buffer_Dev encrypted_block(encrypted_resource);
|
| + pp::Buffer_Dev encrypted_block(pp::PassRef(), encrypted_resource);
|
|
|
| return PP_FromBool(
|
| static_cast<ContentDecryptor_Private*>(object)->Decrypt(
|
| @@ -117,7 +117,7 @@ PP_Bool DecryptAndDecode(PP_Instance instance,
|
| if (!object)
|
| return PP_FALSE;
|
|
|
| - pp::Buffer_Dev encrypted_block(encrypted_resource);
|
| + pp::Buffer_Dev encrypted_block(pp::PassRef(), encrypted_resource);
|
|
|
| return PP_FromBool(
|
| static_cast<ContentDecryptor_Private*>(object)->DecryptAndDecode(
|
|
|