diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 05:38:18 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 05:38:18 +0000 |
commit | d2992659ee14b011632abaf1183a3f80800d3bb2 (patch) | |
tree | 9345bd91940cc1800f045354b6829e459a50ab4a /base/message_loop_proxy_impl.h | |
parent | b3c10dc10536dd7667471fd3e34e4a31588e7798 (diff) | |
download | chromium_src-d2992659ee14b011632abaf1183a3f80800d3bb2.zip chromium_src-d2992659ee14b011632abaf1183a3f80800d3bb2.tar.gz chromium_src-d2992659ee14b011632abaf1183a3f80800d3bb2.tar.bz2 |
A quick fix for Bug 64463.
It seems scoped_refptr<MessageLoopProxy>::~scoped_refptr() cannot call MessageLoopProxyImpl::~MessageLoopProxyImpl() because it is not a virtual destructor. This change just changes it to a virtual one.
BUG=64463
TEST=make the valgrind bots green.
Review URL: http://codereview.chromium.org/5321012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_proxy_impl.h')
-rw-r--r-- | base/message_loop_proxy_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/message_loop_proxy_impl.h b/base/message_loop_proxy_impl.h index 87ae70a..9aa418d 100644 --- a/base/message_loop_proxy_impl.h +++ b/base/message_loop_proxy_impl.h @@ -18,7 +18,7 @@ namespace base { class MessageLoopProxyImpl : public MessageLoopProxy, public MessageLoop::DestructionObserver { public: - ~MessageLoopProxyImpl(); + virtual ~MessageLoopProxyImpl(); // MessageLoopProxy implementation virtual bool PostTask(const tracked_objects::Location& from_here, |