Chromium Code Reviews| 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 f916ede3c5e21a0af2bbacf41dde72b6e1055b45..8bf2078fdaeb46ca292881fbee6e9e0e67ce540f 100644 |
| --- a/ppapi/thunk/ppb_image_data_api.h |
| +++ b/ppapi/thunk/ppb_image_data_api.h |
| @@ -5,6 +5,7 @@ |
| #ifndef PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ |
| #define PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ |
| +#include "base/memory/shared_memory.h" |
|
bbudge
2015/06/02 01:02:03
Can you forward declare this as in ppb_audio_api.h
erikchen
2015/06/02 01:05:25
Not in a clean way.
Right now, base::SharedMemor
|
| #include "ppapi/c/pp_bool.h" |
| #include "ppapi/c/ppb_image_data.h" |
| @@ -22,7 +23,8 @@ class PPB_ImageData_API { |
| virtual void Unmap() = 0; |
| // Trusted inteface. |
| - virtual int32_t GetSharedMemory(int* handle, uint32_t* byte_count) = 0; |
| + virtual int32_t GetSharedMemory(base::SharedMemoryHandle* handle, |
| + uint32_t* byte_count) = 0; |
| // Get the platform-specific canvas that backs this ImageData, if there is |
| // one. |