Index: src/shared/ppapi_proxy/plugin_graphics_2d.h |
diff --git a/src/shared/ppapi_proxy/plugin_graphics_2d.h b/src/shared/ppapi_proxy/plugin_graphics_2d.h |
index 955a04b69014a3b3ac826410c4f084598f50ed40..a9bfb0a2adb6d6670bb1961152e31551cbbce077 100644 |
--- a/src/shared/ppapi_proxy/plugin_graphics_2d.h |
+++ b/src/shared/ppapi_proxy/plugin_graphics_2d.h |
@@ -8,16 +8,18 @@ |
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GRAPHICS_2D_H_ |
#include "native_client/src/include/nacl_macros.h" |
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h" |
#include "ppapi/c/ppb_graphics_2d.h" |
namespace ppapi_proxy { |
// Implements the plugin (i.e., .nexe) side of the PPB_Graphics2D interface. |
-class PluginGraphics2D { |
+class PluginGraphics2D : public PluginResource { |
public: |
static const PPB_Graphics2D* GetInterface(); |
private: |
+ IMPLEMENT_RESOURCE(PluginGraphics2D); |
NACL_DISALLOW_COPY_AND_ASSIGN(PluginGraphics2D); |
}; |