summaryrefslogtreecommitdiffstats
path: root/chrome/common/web_database_observer_impl.h
diff options
context:
space:
mode:
authorziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 23:42:43 +0000
committerziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 23:42:43 +0000
commit8e4f010318e8ee028b22a2e8f5d4276a93054950 (patch)
treee0eee580f0f66dce4f55e45efdc0a76dcb1ac26b /chrome/common/web_database_observer_impl.h
parent9a9787ed17dce85531063d1fb2a07ce801c58de5 (diff)
downloadchromium_src-8e4f010318e8ee028b22a2e8f5d4276a93054950.zip
chromium_src-8e4f010318e8ee028b22a2e8f5d4276a93054950.tar.gz
chromium_src-8e4f010318e8ee028b22a2e8f5d4276a93054950.tar.bz2
Add undeclared virtual destructors part 4
Preventative maintenance for abstract classes that do not declare virtual destructors. Base classes that do not declare their destructors as virtual could potentially lead to memory leaks. These files were discovered using the -Wnon-virtual-dtor flag in g++. r=jar BUG=47469 Review URL: http://codereview.chromium.org/3032046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/web_database_observer_impl.h')
-rw-r--r--chrome/common/web_database_observer_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/web_database_observer_impl.h b/chrome/common/web_database_observer_impl.h
index dced3df..84101c8 100644
--- a/chrome/common/web_database_observer_impl.h
+++ b/chrome/common/web_database_observer_impl.h
@@ -13,6 +13,7 @@
class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
public:
explicit WebDatabaseObserverImpl(IPC::Message::Sender* sender);
+ virtual ~WebDatabaseObserverImpl() {}
virtual void databaseOpened(const WebKit::WebDatabase& database);
virtual void databaseModified(const WebKit::WebDatabase& database);
virtual void databaseClosed(const WebKit::WebDatabase& database);