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
commitf8e4bc9f7789b98b54fe04df56555ca8c630df70 (patch)
tree21ffd2455c4ce35e916cb9361b767db13aac7903 /libs/surfaceflinger/Layer.cpp
parent8df16d63d4e1c70cf75a9acc4f24e4e1abca5abc (diff)
parent0c4cec7e4df87181486d280c98fba9c0f4774c37 (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 07222eca8efc..13201db04ce0 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++) {