summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/notification_provider.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/renderer/notification_provider.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/renderer/notification_provider.h')
-rw-r--r--chrome/renderer/notification_provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/notification_provider.h b/chrome/renderer/notification_provider.h
index aa1d8f6..80ec832 100644
--- a/chrome/renderer/notification_provider.h
+++ b/chrome/renderer/notification_provider.h
@@ -23,7 +23,7 @@ class WebNotificationPermissionCallback;
class NotificationProvider : public WebKit::WebNotificationPresenter {
public:
explicit NotificationProvider(RenderView* view);
- ~NotificationProvider() {}
+ virtual ~NotificationProvider() {}
// WebKit::WebNotificationPresenter interface.
virtual bool show(const WebKit::WebNotification& proxy);