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

Unified Diff: webkit/media/webmediaplayer_delegate.h

Issue 10416004: RefCounted types should not have public destructors, webkit/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r140259 Created 8 years, 7 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 | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/plugins/npapi/webplugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_delegate.h
diff --git a/webkit/media/webmediaplayer_delegate.h b/webkit/media/webmediaplayer_delegate.h
index cd595f10ea6e16961f0e9951ddbd1e45ae5c0de9..7f5e4ee451c2c7e54554297a9a5dfd4031fe74b0 100644
--- a/webkit/media/webmediaplayer_delegate.h
+++ b/webkit/media/webmediaplayer_delegate.h
@@ -15,7 +15,6 @@ namespace webkit_media {
class WebMediaPlayerDelegate {
public:
WebMediaPlayerDelegate() {}
- virtual ~WebMediaPlayerDelegate() {}
// The specified player started playing media.
virtual void DidPlay(WebKit::WebMediaPlayer* player) {}
@@ -25,6 +24,9 @@ class WebMediaPlayerDelegate {
// The specified player was destroyed. Do not call any methods on it.
virtual void PlayerGone(WebKit::WebMediaPlayer* player) {}
+
+ protected:
+ virtual ~WebMediaPlayerDelegate() {}
};
} // namespace webkit_media
« no previous file with comments | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/plugins/npapi/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698