summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-10-02 23:35:12 -0400
committer Android (Google) Code Review <android-gerrit@google.com> 2009-10-02 23:35:12 -0400
commit0b7b65da2faefb418ecb43b99025ccfabf4ceb32 (patch)
treee101cea80b6258fa478b702cfef622747f3f9e39 /libs/surfaceflinger/Layer.cpp
parent09fa0b2d73c386f69c10f2bf1f34625924b18300 (diff)
parent0b3ad46a26dc3717260fa9347c77f673f3198606 (diff)
Merge change I0c4cec7e into eclair
* changes: Attempt to fix [2152536] ANR in browser
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
-rw-r--r--libs/surfaceflinger/Layer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp
index 07222eca8e..13201db04c 100644
--- a/libs/surfaceflinger/Layer.cpp
+++ b/libs/surfaceflinger/Layer.cpp
@@ -65,14 +65,6 @@ Layer::~Layer()
// the actual buffers will be destroyed here
}
-// called with SurfaceFlinger::mStateLock as soon as the layer is entered
-// in the purgatory list
-void Layer::onRemoved()
-{
- // wake up the condition
- lcblk->setStatus(NO_INIT);
-}
-
void Layer::destroy()
{
for (size_t i=0 ; i<NUM_BUFFERS ; i++) {