summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-06-15 22:40:07 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-15 22:40:07 -0700
commit0887b8c2e583e682cd2c1bc909cb3fdbec704004 (patch)
tree1879c2cedf900dc65df12e6f2b8eb3c5011047ab /include
parentd5244e0a88ed2f843651aa5ffdc71a45c968e0f3 (diff)
parent8e18668d14adf601cbe5973030c310ec23d88461 (diff)
downloadframeworks_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.h14
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();