summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-08-11 20:50:32 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-08-11 20:50:32 -0700
commitefefd5efb9e20fbcd94c3f4766ca2a64e511da77 (patch)
tree64b527b57b6e206497402e053e0b35a869a57915 /libs/surfaceflinger/LayerBase.cpp
parentd7fe92b85812c53079b813543d722922e4ce7a4a (diff)
parent64e89a8aff9a45a491f1d7064a655b9021fe644a (diff)
Merge change 20892
* changes: Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
-rw-r--r--libs/surfaceflinger/LayerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp
index 419574c7def1..fbce73ddd3be 100644
--- a/libs/surfaceflinger/LayerBase.cpp
+++ b/libs/surfaceflinger/LayerBase.cpp
@@ -759,7 +759,7 @@ status_t LayerBaseClient::Surface::onTransact(
return BnSurface::onTransact(code, data, reply, flags);
}
-sp<SurfaceBuffer> LayerBaseClient::Surface::getBuffer(int)
+sp<SurfaceBuffer> LayerBaseClient::Surface::getBuffer()
{
return NULL;
}