commit | 9e7636681eda094dd328ce9bf54d0b0166be1e67 | [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 | daa994e6a3ed671ec6e09e31a8408bd7d6240871 | |
parent | fa21cb2e58838761157d3ee929a77e23b602bd01 [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