| 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 3c649f140bba8d20a44d7b590f379346d2b36578..d15f0bd7c3a9ec0e97fd0da508c94e98613fdac2 100644
|
| --- a/ppapi/cpp/private/content_decryptor_private.cc
|
| +++ b/ppapi/cpp/private/content_decryptor_private.cc
|
| @@ -104,7 +104,7 @@ void Decrypt(PP_Instance instance,
|
| if (!object)
|
| return;
|
|
|
| - pp::Buffer_Dev encrypted_block(pp::PassRef(), encrypted_resource);
|
| + pp::Buffer_Dev encrypted_block(encrypted_resource);
|
|
|
| static_cast<ContentDecryptor_Private*>(object)->Decrypt(
|
| encrypted_block,
|
| @@ -175,7 +175,7 @@ void DecryptAndDecode(PP_Instance instance,
|
| if (!object)
|
| return;
|
|
|
| - pp::Buffer_Dev encrypted_buffer(pp::PassRef(), encrypted_resource);
|
| + pp::Buffer_Dev encrypted_buffer(encrypted_resource);
|
|
|
| static_cast<ContentDecryptor_Private*>(object)->DecryptAndDecode(
|
| decoder_type,
|
|
|