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

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 7227003: Add virtual destructors for the Pepper API thunks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « ppapi/thunk/ppb_widget_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/resource_creation_api.h
===================================================================
--- ppapi/thunk/resource_creation_api.h (revision 90483)
+++ ppapi/thunk/resource_creation_api.h (working copy)
@@ -31,8 +31,7 @@
// creation) so need functional routing based on the instance ID.
class ResourceCreationAPI {
public:
- static const ::pp::proxy::InterfaceID interface_id =
- ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
+ virtual ~ResourceCreationAPI() {}
virtual PP_Resource CreateAudio(PP_Instance instance,
PP_Resource config_id,
@@ -92,6 +91,9 @@
virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0;
virtual PP_Resource CreateVideoLayer(PP_Instance instance,
PP_VideoLayerMode_Dev mode) = 0;
+
+ static const ::pp::proxy::InterfaceID interface_id =
+ ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
};
} // namespace thunk
« no previous file with comments | « ppapi/thunk/ppb_widget_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698