Index: ipc/ipc_channel_proxy.h |
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h |
index 5cbe664151940ca7ddc179309325b01b34d8495d..789685c9d5bece6eb2ae7ab8bf574c51acd4357d 100644 |
--- a/ipc/ipc_channel_proxy.h |
+++ b/ipc/ipc_channel_proxy.h |
@@ -58,7 +58,6 @@ class IPC_EXPORT ChannelProxy : public Message::Sender { |
: public base::RefCountedThreadSafe<MessageFilter, MessageFilterTraits> { |
public: |
MessageFilter(); |
- virtual ~MessageFilter(); |
// Called on the background thread to provide the filter with access to the |
// channel. Called when the IPC channel is initialized or when AddFilter |
@@ -90,6 +89,9 @@ class IPC_EXPORT ChannelProxy : public Message::Sender { |
// derived classes the option of controlling which thread they're deleted |
// on etc. |
virtual void OnDestruct() const; |
+ |
+ protected: |
+ virtual ~MessageFilter(); |
}; |
struct MessageFilterTraits { |