From 8e18668d14adf601cbe5973030c310ec23d88461 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 15 Jun 2011 20:42:47 -0700 Subject: revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE) This reverts commit 52a43990880b27808bcf562afcc4209d34728e6e. Change-Id: I1856a48f863b051395b8091ddfd1e01292fa1b1e --- include/utils/RefBase.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include') 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(); -- cgit v1.1