diff options
author | Mathias Agopian <mathias@google.com> | 2011-06-15 20:42:47 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:56:57 -0700 |
commit | 9c8fa9ed4111c69c82ace01c8a7ac3beeacdce78 (patch) | |
tree | f04e23041d0b4dd0c2585bd8f461061652d8d4d5 /include/utils/RefBase.h | |
parent | 267ba69c2e4ae39b9fe98d4be592c7b59e7e57a1 (diff) | |
download | system_core-9c8fa9ed4111c69c82ace01c8a7ac3beeacdce78.zip system_core-9c8fa9ed4111c69c82ace01c8a7ac3beeacdce78.tar.gz system_core-9c8fa9ed4111c69c82ace01c8a7ac3beeacdce78.tar.bz2 |
revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE)
This reverts commit 52a43990880b27808bcf562afcc4209d34728e6e.
Change-Id: I1856a48f863b051395b8091ddfd1e01292fa1b1e
Diffstat (limited to 'include/utils/RefBase.h')
-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 ca17082..a21a18b 100644 --- a/include/utils/RefBase.h +++ b/include/utils/RefBase.h @@ -116,20 +116,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(); |