Index: ppapi/proxy/ppp_content_decryptor_private_proxy.cc |
diff --git a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc |
index 2d6b086b24c64c25dbc03fbee459f64b4547e30f..f986e7f8d7214dbbb3efbaa9a3751bef30be2ad0 100644 |
--- a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc |
+++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc |
@@ -18,13 +18,11 @@ |
#include "ppapi/shared_impl/var_tracker.h" |
#include "ppapi/thunk/enter.h" |
#include "ppapi/thunk/ppb_buffer_api.h" |
-#include "ppapi/thunk/ppb_buffer_trusted_api.h" |
#include "ppapi/thunk/ppb_instance_api.h" |
#include "ppapi/thunk/thunk.h" |
using ppapi::thunk::EnterResourceNoLock; |
using ppapi::thunk::PPB_Buffer_API; |
-using ppapi::thunk::PPB_BufferTrusted_API; |
using ppapi::thunk::PPB_Instance_API; |
namespace ppapi { |
@@ -46,7 +44,7 @@ PP_Bool ShareHostBufferResourceToPlugin( |
base::SharedMemoryHandle* shared_mem_handle) { |
if (!dispatcher || resource == 0 || !shared_mem_handle) |
return PP_FALSE; |
- EnterResourceNoLock<PPB_BufferTrusted_API> enter(resource, true); |
+ EnterResourceNoLock<PPB_Buffer_API> enter(resource, true); |
if (enter.failed()) |
return PP_FALSE; |
int handle; |