summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-06-15 20:42:47 -0700
committer Mathias Agopian <mathias@google.com> 2011-06-15 20:45:32 -0700
commit1b2c2a9ea0108cd182a56c47997ec68ee8de02b3 (patch)
tree1c2f422290bfac3762ea20bd9471416ac11350f9 /include/utils
parent63ad28fb53a1b3b652495e57eb5fe52eb2a0ec80 (diff)
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')
-rw-r--r--include/utils/RefBase.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/utils/RefBase.h b/include/utils/RefBase.h
index c0be597570..b31e993d86 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();