diff options
author | Mathias Agopian <mathias@google.com> | 2011-06-15 22:40:07 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-06-15 22:40:07 -0700 |
commit | 0887b8c2e583e682cd2c1bc909cb3fdbec704004 (patch) | |
tree | 1879c2cedf900dc65df12e6f2b8eb3c5011047ab /include | |
parent | d5244e0a88ed2f843651aa5ffdc71a45c968e0f3 (diff) | |
parent | 8e18668d14adf601cbe5973030c310ec23d88461 (diff) | |
download | frameworks_base-0887b8c2e583e682cd2c1bc909cb3fdbec704004.zip frameworks_base-0887b8c2e583e682cd2c1bc909cb3fdbec704004.tar.gz frameworks_base-0887b8c2e583e682cd2c1bc909cb3fdbec704004.tar.bz2 |
am 8e18668d: revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE)
* commit '8e18668d14adf601cbe5973030c310ec23d88461':
revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE)
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/RefBase.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/utils/RefBase.h b/include/utils/RefBase.h index c0be597..b31e993 100644 --- a/include/utils/RefBase.h +++ b/include/utils/RefBase.h @@ -117,20 +117,6 @@ public: typedef RefBase basetype; - // used to override the RefBase destruction. - class Destroyer { - friend class RefBase; - friend class weakref_type; - public: - virtual ~Destroyer(); - private: - virtual void destroy(RefBase const* base) = 0; - }; - - // Make sure to never acquire a strong reference from this function. The - // same restrictions than for destructors apply. - void setDestroyer(Destroyer* destroyer); - protected: RefBase(); virtual ~RefBase(); |