diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 22:25:29 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 22:25:29 +0000 |
commit | cb4fdad54e38d2c0c30ab47492cfbe266bef07ad (patch) | |
tree | 0f1cf3cd8d39452f5d68189cc8a252b3b03dfabd /ppapi/thunk/resource_creation_api.h | |
parent | 82584e985fe31201b7691631e61aa88b6ac849c6 (diff) | |
download | chromium_src-cb4fdad54e38d2c0c30ab47492cfbe266bef07ad.zip chromium_src-cb4fdad54e38d2c0c30ab47492cfbe266bef07ad.tar.gz chromium_src-cb4fdad54e38d2c0c30ab47492cfbe266bef07ad.tar.bz2 |
Add virtual destructors for the Pepper API thunks.
TEST=it compiles
BUG=86132
Review URL: http://codereview.chromium.org/7227003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/resource_creation_api.h')
-rw-r--r-- | ppapi/thunk/resource_creation_api.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h index 3c7c3df..c998b56 100644 --- a/ppapi/thunk/resource_creation_api.h +++ b/ppapi/thunk/resource_creation_api.h @@ -31,8 +31,7 @@ namespace thunk { // 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 @@ class ResourceCreationAPI { 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 |