commit | 3d6881f3940dd19268006e71dd2ed9896588dfb6 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu May 19 18:03:31 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon May 23 16:13:48 2011 -0700 |
tree | 7cd587807e26896f4cbc34e5aa47319c0c5df55f | |
parent | 34cd9b72f1474ccbfd2338049d81a24bfa814f35 [diff] |
RefBase subclasses can now decide how they want to be destroyed. This adds a destroy() virtual on RefBase which sublasses can implement. destroy() is called in lieu of the destructor whenthe last strong ref goes away. Bug: 4483050 Change-Id: I8cbf6044a6fd3f01043a45592b5a60fa1e5fade2