Index: src/shared/ppapi_proxy/plugin_buffer.h |
diff --git a/src/shared/ppapi_proxy/plugin_buffer.h b/src/shared/ppapi_proxy/plugin_buffer.h |
index a70f423e08cc69757cbc4302791d43e8f92126f4..3dafcbe990d659e52a314c007d3f2d20c45f890d 100644 |
--- a/src/shared/ppapi_proxy/plugin_buffer.h |
+++ b/src/shared/ppapi_proxy/plugin_buffer.h |
@@ -8,16 +8,18 @@ |
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_BUFFER_H_ |
#include "native_client/src/include/nacl_macros.h" |
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h" |
#include "ppapi/c/dev/ppb_buffer_dev.h" |
namespace ppapi_proxy { |
// Implements the plugin (i.e., .nexe) side of the PPB_Buffer interface. |
-class PluginBuffer { |
+class PluginBuffer : public PluginResource { |
public: |
static const PPB_Buffer_Dev* GetInterface(); |
private: |
+ IMPLEMENT_RESOURCE(PluginBuffer); |
NACL_DISALLOW_COPY_AND_ASSIGN(PluginBuffer); |
}; |