summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/plugin_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index 761a808..3cb1fea 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -212,17 +212,17 @@ class PluginDelegate {
};
// Provides access to the ppapi broker.
- class PpapiBroker : public base::RefCountedThreadSafe<PpapiBroker> {
+ class PpapiBroker {
public:
virtual void Connect(webkit::ppapi::PPB_Broker_Impl* client) = 0;
// Decrements the references to the broker.
// When there are no more references, this renderer's dispatcher is
// destroyed, allowing the broker to shutdown if appropriate.
+ // Callers should not reference this object after calling Disconnect.
virtual void Disconnect(webkit::ppapi::PPB_Broker_Impl* client) = 0;
protected:
- friend class base::RefCountedThreadSafe<PpapiBroker>;
virtual ~PpapiBroker() {}
};