Index: webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h |
diff --git a/webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h b/webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h |
index 12cf4e2f49d3b3f2d1f6d2d6a1a2d4a86a1d3ab4..8365b9b3fc6e29c3aaf9ec7109bf675e86cdd83d 100644 |
--- a/webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h |
+++ b/webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h |
@@ -41,7 +41,7 @@ class NPObjectLifetimeTestInstance2 : public PluginTest { |
public: |
// Constructor. |
NPObjectLifetimeTestInstance2(NPP id, NPNetscapeFuncs *host_functions); |
- ~NPObjectLifetimeTestInstance2(); |
+ virtual ~NPObjectLifetimeTestInstance2(); |
// NPAPI SetWindow handler. |
virtual NPError SetWindow(NPWindow* pNPWindow); |
@@ -58,7 +58,7 @@ class NPObjectDeletePluginInNPN_Evaluate : public PluginTest { |
public: |
// Constructor. |
NPObjectDeletePluginInNPN_Evaluate(NPP id, NPNetscapeFuncs *host_functions); |
- ~NPObjectDeletePluginInNPN_Evaluate(); |
+ virtual ~NPObjectDeletePluginInNPN_Evaluate(); |
// NPAPI SetWindow handler. |
virtual NPError SetWindow(NPWindow* pNPWindow); |