summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authormarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 19:08:58 +0000
committermarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 19:08:58 +0000
commitcdcefd8721e2f8df853cdc0cd8a7a67a122b7be1 (patch)
tree89c8d895ff611ce57301793ba8561d6811070f2e /webkit/glue
parentcccd376dcdb2cc8855c7ca1fd649a948d68d6f08 (diff)
downloadchromium_src-cdcefd8721e2f8df853cdc0cd8a7a67a122b7be1.zip
chromium_src-cdcefd8721e2f8df853cdc0cd8a7a67a122b7be1.tar.gz
chromium_src-cdcefd8721e2f8df853cdc0cd8a7a67a122b7be1.tar.bz2
Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class destructors get called correctly.
BUG=62828 TEST=No memory leak in TestShellWebMimeRegistryImpl Review URL: http://codereview.chromium.org/4880002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/simple_webmimeregistry_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/simple_webmimeregistry_impl.h b/webkit/glue/simple_webmimeregistry_impl.h
index 0056de0..f4f4d74 100644
--- a/webkit/glue/simple_webmimeregistry_impl.h
+++ b/webkit/glue/simple_webmimeregistry_impl.h
@@ -11,6 +11,9 @@ namespace webkit_glue {
class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {
public:
+ SimpleWebMimeRegistryImpl() {}
+ virtual ~SimpleWebMimeRegistryImpl() {}
+
// WebMimeRegistry methods:
virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(
const WebKit::WebString&);