summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/renderer/pepper_plugin_delegate_impl.cc3
-rw-r--r--content/renderer/pepper_plugin_delegate_impl.h1
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h2
3 files changed, 5 insertions, 1 deletions
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index 8ba9f4f..209351d 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -332,6 +332,9 @@ bool DispatcherWrapper::Init(
PpapiBrokerImpl::PpapiBrokerImpl() {
}
+PpapiBrokerImpl::~PpapiBrokerImpl() {
+}
+
// If the channel is not ready, queue the connection.
void PpapiBrokerImpl::Connect(webkit::ppapi::PPB_Broker_Impl* client) {
if (channel_handle_.name.empty()) {
diff --git a/content/renderer/pepper_plugin_delegate_impl.h b/content/renderer/pepper_plugin_delegate_impl.h
index b2ee87e..6784efa 100644
--- a/content/renderer/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper_plugin_delegate_impl.h
@@ -61,6 +61,7 @@ class PpapiBrokerImpl : public webkit::ppapi::PluginDelegate::PpapiBroker {
void RequestPpapiBrokerPipe(webkit::ppapi::PPB_Broker_Impl* client);
protected:
+ virtual ~PpapiBrokerImpl();
IPC::ChannelHandle channel_handle_;
std::vector<scoped_refptr<webkit::ppapi::PPB_Broker_Impl> > pending_connects_;
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index d986e95..2184e3b 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -221,7 +221,7 @@ class PluginDelegate {
protected:
friend class base::RefCountedThreadSafe<PpapiBroker>;
- ~PpapiBroker() {}
+ virtual ~PpapiBroker() {}
};
// Notification that the given plugin has crashed. When a plugin crashes, all