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

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: Remove changes to base/memory. 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..a44a3f23eaec12fd4f7aeba9aad4a5ab45e7a951 100644
--- a/ppapi/thunk/ppb_buffer_api.h
+++ b/ppapi/thunk/ppb_buffer_api.h
@@ -5,6 +5,7 @@
#ifndef PPAPI_THUNK_PPB_BUFFER_API_H_
#define PPAPI_THUNK_PPB_BUFFER_API_H_
+#include "base/memory/shared_memory.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
@@ -22,7 +23,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::SharedMemoryHandle* shm_handle) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698