diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:53:36 -0800 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-12-12 12:13:54 -0800 |
commit | 4def8600305bc2b7f947c9fc0811095b7c17c8e2 (patch) | |
tree | 0794ac1a013274582b6bd3cc3d0d022dedfb7553 | |
parent | 3325fe16e60772188ff99db87c5e8b0e655cd6c7 (diff) | |
download | frameworks_native-4def8600305bc2b7f947c9fc0811095b7c17c8e2.zip frameworks_native-4def8600305bc2b7f947c9fc0811095b7c17c8e2.tar.gz frameworks_native-4def8600305bc2b7f947c9fc0811095b7c17c8e2.tar.bz2 |
SurfaceTextureClient: remove a deprecated ctor
Change-Id: Ibf2746fdca26851677cd90199c60eab80f6d0c73
-rw-r--r-- | include/gui/SurfaceTextureClient.h | 6 | ||||
-rw-r--r-- | libs/gui/SurfaceTextureClient.cpp | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h index 50fd1ba..56d861a 100644 --- a/include/gui/SurfaceTextureClient.h +++ b/include/gui/SurfaceTextureClient.h @@ -41,12 +41,6 @@ public: SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture); - // SurfaceTextureClient is overloaded to assist in refactoring ST and BQ. - // SurfaceTexture is no longer an ISurfaceTexture, so client code - // calling the original constructor will fail. Thus this convenience method - // passes in the surfaceTexture's bufferQueue to the init method. - SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture); - sp<ISurfaceTexture> getISurfaceTexture() const; protected: diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index afdbf04..7588b9e 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -41,14 +41,6 @@ SurfaceTextureClient::SurfaceTextureClient( SurfaceTextureClient::setISurfaceTexture(surfaceTexture); } -// see SurfaceTextureClient.h -SurfaceTextureClient::SurfaceTextureClient(const - sp<SurfaceTexture>& surfaceTexture) -{ - SurfaceTextureClient::init(); - SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue()); -} - SurfaceTextureClient::SurfaceTextureClient() { SurfaceTextureClient::init(); } |