diff options
| author | 2009-06-23 20:06:46 -0700 | |
|---|---|---|
| committer | 2009-06-23 20:06:46 -0700 | |
| commit | 2e123245811a1f31c080a29728fcc1655045f011 (patch) | |
| tree | bc8e84f4040daa648b819424a431ae1826203437 /libs/surfaceflinger/LayerBuffer.cpp | |
| parent | e7829b8656ab4d179aa608e5715280819e5230b5 (diff) | |
fix a bug causing push-buffer surfaces' identity to be garbage, which resulted in some attributes (size/pos) to fail to be set
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
| -rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index 3db5434564..22fd4994d5 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -52,6 +52,7 @@ LayerBuffer::~LayerBuffer() void LayerBuffer::onFirstRef() { + LayerBaseClient::onFirstRef(); mSurface = new SurfaceBuffer(mFlinger, clientIndex(), const_cast<LayerBuffer *>(this)); } |