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

Unified Diff: ppapi/thunk/ppb_image_data_api.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
« no previous file with comments | « ppapi/thunk/ppb_buffer_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ppapi/thunk/ppb_buffer_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698