Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: ppapi/proxy/ppb_image_data_proxy.h

Issue 1154613006: Update pepper to not assume that SharedMemoryHandle is an int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another nits pass. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppb_image_data_proxy.h
diff --git a/ppapi/proxy/ppb_image_data_proxy.h b/ppapi/proxy/ppb_image_data_proxy.h
index 6cd8ba31434041c1d766545cb12e581b513ce6e1..59e8c6e31a8d215975ae675f92cbd57786f84dac 100644
--- a/ppapi/proxy/ppb_image_data_proxy.h
+++ b/ppapi/proxy/ppb_image_data_proxy.h
@@ -48,7 +48,8 @@ class PPAPI_PROXY_EXPORT ImageData
// PPB_ImageData API.
PP_Bool Describe(PP_ImageDataDesc* desc) override;
- int32_t GetSharedMemory(int* handle, uint32_t* byte_count) override;
+ int32_t GetSharedMemory(base::SharedMemoryHandle* handle,
+ uint32_t* byte_count) override;
void SetIsCandidateForReuse() override;
PPB_ImageData_Shared::ImageDataType type() const { return type_; }
@@ -156,7 +157,7 @@ class PPB_ImageData_Proxy : public InterfaceProxy {
const PP_Size& size,
bool init_to_zero,
PP_ImageDataDesc* desc,
- IPC::PlatformFileForTransit* image_handle,
+ base::SharedMemoryHandle* image_handle,
uint32_t* byte_count);
static const ApiID kApiID = API_ID_PPB_IMAGE_DATA;

Powered by Google App Engine
This is Rietveld 408576698