diff options
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.h')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h index e85ca0a..79b36bf 100644 --- a/chrome/plugin/webplugin_delegate_stub.h +++ b/chrome/plugin/webplugin_delegate_stub.h @@ -38,7 +38,6 @@ class WebPluginDelegateStub : public IPC::Channel::Listener, public: WebPluginDelegateStub(const std::string& mime_type, int instance_id, PluginChannel* channel); - ~WebPluginDelegateStub(); // IPC::Channel::Listener implementation: virtual void OnMessageReceived(const IPC::Message& msg); @@ -50,6 +49,10 @@ class WebPluginDelegateStub : public IPC::Channel::Listener, WebPluginProxy* webplugin() { return webplugin_; } private: + friend class base::RefCounted<WebPluginDelegateStub>; + + ~WebPluginDelegateStub(); + // Message handlers for the WebPluginDelegate calls that are proxied from the // renderer over the IPC channel. void OnInit(const PluginMsg_Init_Params& params, bool* result); |