summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 04:07:16 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 04:07:16 +0000
commita4f0875e43903beb5077c1ebd19d27f639ec4c3e (patch)
tree23311bc0a5fb3c686e210fb2ed6ca9647527b8d2
parente05aff7b37209759db897cf4053ae18e8d67ba58 (diff)
downloadchromium_src-a4f0875e43903beb5077c1ebd19d27f639ec4c3e.zip
chromium_src-a4f0875e43903beb5077c1ebd19d27f639ec4c3e.tar.gz
chromium_src-a4f0875e43903beb5077c1ebd19d27f639ec4c3e.tar.bz2
Fix clang error.
BUG=none TEST=Clang compiler. Review URL: http://codereview.chromium.org/6849014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81530 0039d316-1c4b-4281-b951-d872f2087c98
-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