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

Unified Diff: ppapi/thunk/ppb_instance_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_image_data_api.h ('k') | ppapi/thunk/ppb_layer_compositor_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_instance_api.h
===================================================================
--- ppapi/thunk/ppb_instance_api.h (revision 90483)
+++ ppapi/thunk/ppb_instance_api.h (working copy)
@@ -16,8 +16,7 @@
class PPB_Instance_FunctionAPI {
public:
- static const ::pp::proxy::InterfaceID interface_id =
- ::pp::proxy::INTERFACE_ID_PPB_INSTANCE;
+ virtual ~PPB_Instance_FunctionAPI() {}
virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0;
virtual PP_Bool IsFullFrame(PP_Instance instance) = 0;
@@ -33,6 +32,9 @@
virtual PP_Bool IsFullscreen(PP_Instance instance) = 0;
virtual PP_Bool SetFullscreen(PP_Instance instance, PP_Bool fullscreen) = 0;
virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0;
+
+ static const ::pp::proxy::InterfaceID interface_id =
+ ::pp::proxy::INTERFACE_ID_PPB_INSTANCE;
};
} // namespace thunk
« no previous file with comments | « ppapi/thunk/ppb_image_data_api.h ('k') | ppapi/thunk/ppb_layer_compositor_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698