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

Unified Diff: webkit/plugins/ppapi/plugin_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/plugins/ppapi/fullscreen_container.h ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index c9bf986b9975d57472ade265fab633d9e848d66e..1908a53f2985b6183fdbc88c529413520016a2bf 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -282,10 +282,14 @@ class PluginDelegate {
class PlatformVideoCapture : public media::VideoCapture,
public base::RefCounted<PlatformVideoCapture> {
public:
- virtual ~PlatformVideoCapture() {}
-
// Detaches the event handler and stops sending notifications to it.
virtual void DetachEventHandler() = 0;
+
+ protected:
+ virtual ~PlatformVideoCapture() {}
+
+ private:
+ friend class base::RefCounted<PlatformVideoCapture>;
};
// Provides access to the ppapi broker.
« no previous file with comments | « webkit/plugins/ppapi/fullscreen_container.h ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698