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

Unified Diff: ppapi/thunk/ppb_buffer_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
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

Powered by Google App Engine
This is Rietveld 408576698