| Index: ppapi/thunk/ppb_image_data_api.h
|
| diff --git a/ppapi/thunk/ppb_image_data_api.h b/ppapi/thunk/ppb_image_data_api.h
|
| index 8bf2078fdaeb46ca292881fbee6e9e0e67ce540f..5428ded250c4b5cff0e7e65720a1d5592011176e 100644
|
| --- a/ppapi/thunk/ppb_image_data_api.h
|
| +++ b/ppapi/thunk/ppb_image_data_api.h
|
| @@ -5,12 +5,15 @@
|
| #ifndef PPAPI_THUNK_PPB_IMAGE_DATA_API_H_
|
| #define PPAPI_THUNK_PPB_IMAGE_DATA_API_H_
|
|
|
| -#include "base/memory/shared_memory.h"
|
| #include "ppapi/c/pp_bool.h"
|
| #include "ppapi/c/ppb_image_data.h"
|
|
|
| class SkCanvas;
|
|
|
| +namespace base {
|
| +class SharedMemory;
|
| +} // namespace base
|
| +
|
| namespace ppapi {
|
| namespace thunk {
|
|
|
| @@ -23,7 +26,7 @@ class PPB_ImageData_API {
|
| virtual void Unmap() = 0;
|
|
|
| // Trusted inteface.
|
| - virtual int32_t GetSharedMemory(base::SharedMemoryHandle* handle,
|
| + virtual int32_t GetSharedMemory(base::SharedMemory** shm,
|
| uint32_t* byte_count) = 0;
|
|
|
| // Get the platform-specific canvas that backs this ImageData, if there is
|
|
|