Index: ppapi/thunk/ppb_buffer_api.h |
diff --git a/ppapi/thunk/ppb_buffer_api.h b/ppapi/thunk/ppb_buffer_api.h |
index 2542ec4cf5a96d2176b65c3f0766d4bf02e6be1d..924b178288e338c4d6eab944a1ff89cc63a10567 100644 |
--- a/ppapi/thunk/ppb_buffer_api.h |
+++ b/ppapi/thunk/ppb_buffer_api.h |
@@ -9,6 +9,10 @@ |
#include "ppapi/c/pp_stdint.h" |
#include "ppapi/thunk/ppapi_thunk_export.h" |
+namespace base { |
+class SharedMemory; |
+} // namespace base |
+ |
namespace ppapi { |
namespace thunk { |
@@ -22,7 +26,7 @@ class PPAPI_THUNK_EXPORT PPB_Buffer_API { |
virtual void Unmap() = 0; |
// Trusted API |
- virtual int32_t GetSharedMemory(int* handle) = 0; |
+ virtual int32_t GetSharedMemory(base::SharedMemory** shm) = 0; |
}; |
} // namespace thunk |