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

Unified Diff: webkit/plugins/ppapi/ppb_buffer_impl.h

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comment nits. Created 7 years, 9 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: webkit/plugins/ppapi/ppb_buffer_impl.h
diff --git a/webkit/plugins/ppapi/ppb_buffer_impl.h b/webkit/plugins/ppapi/ppb_buffer_impl.h
index 0f73b69c3c6c0005fba3146b9e8b7f3b0d303720..ff5604c6634bee6086edf2de884156da06396e41 100644
--- a/webkit/plugins/ppapi/ppb_buffer_impl.h
+++ b/webkit/plugins/ppapi/ppb_buffer_impl.h
@@ -19,8 +19,7 @@ namespace ppapi {
class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
public ::ppapi::Resource,
- public ::ppapi::thunk::PPB_Buffer_API,
- public ::ppapi::thunk::PPB_BufferTrusted_API {
+ public ::ppapi::thunk::PPB_Buffer_API {
public:
virtual ~PPB_Buffer_Impl();
@@ -35,7 +34,6 @@ class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
// Resource overrides.
virtual ::ppapi::thunk::PPB_Buffer_API* AsPPB_Buffer_API() OVERRIDE;
- virtual ::ppapi::thunk::PPB_BufferTrusted_API* AsPPB_BufferTrusted_API();
// PPB_Buffer_API implementation.
virtual PP_Bool Describe(uint32_t* size_in_bytes) OVERRIDE;
@@ -43,7 +41,7 @@ class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
virtual void* Map() OVERRIDE;
virtual void Unmap() OVERRIDE;
- // PPB_BufferTrusted_API implementation.
+ // Trusted.
virtual int32_t GetSharedMemory(int* handle) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698