From 5c23a2c72d1c3d2c423355ae301e0822e1662b9f Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Tue, 19 Jul 2011 14:32:36 -0700 Subject: SurfaceTexture: remove getAllocator This change removes the SurfaceTexture::getAllocator method, as it's no longer needed. Proper refcounting of the Gralloc buffers is now handled by the IGraphicBufferAlloc binder marshalling code. Change-Id: I5cffa6ebfc1bc5828fb7ce0e0a5b2f55cd8479da --- libs/gui/SurfaceTextureClient.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/gui/SurfaceTextureClient.cpp') diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index 1dc6cd2cf751..b4d76bb04b37 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -62,9 +62,6 @@ void SurfaceTextureClient::setISurfaceTexture( const sp& surfaceTexture) { mSurfaceTexture = surfaceTexture; - - // Get a reference to the allocator. - mAllocator = mSurfaceTexture->getAllocator(); } sp SurfaceTextureClient::getISurfaceTexture() const { -- cgit v1.2.3-59-g8ed1b