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

Unified Diff: ppapi/thunk/ppb_font_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_flash_net_connector_api.h ('k') | ppapi/thunk/ppb_graphics_2d_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_font_api.h
===================================================================
--- ppapi/thunk/ppb_font_api.h (revision 90483)
+++ ppapi/thunk/ppb_font_api.h (working copy)
@@ -14,15 +14,19 @@
// API for static font functions.
class PPB_Font_FunctionAPI {
public:
+ virtual ~PPB_Font_FunctionAPI() {}
+
+ virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
+
static const ::pp::proxy::InterfaceID interface_id =
::pp::proxy::INTERFACE_ID_PPB_FONT;
-
- virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
};
// API for font resources.
class PPB_Font_API {
public:
+ virtual ~PPB_Font_API() {}
+
virtual PP_Bool Describe(PP_FontDescription_Dev* description,
PP_FontMetrics_Dev* metrics) = 0;
virtual PP_Bool DrawTextAt(PP_Resource image_data,
« no previous file with comments | « ppapi/thunk/ppb_flash_net_connector_api.h ('k') | ppapi/thunk/ppb_graphics_2d_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698