| 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.
|
|
|