From c8a04b536bb8ad12a87e6dd68d66cff1e7fcd7e7 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 5 Apr 2011 15:44:20 -0700 Subject: remove more unused references to ISurface Change-Id: I2201f1ca2bb8f203a081d94a0134f798778dfbef --- include/surfaceflinger/Surface.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/surfaceflinger') diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h index a59d9e5292b7..3923e61ad8c5 100644 --- a/include/surfaceflinger/Surface.h +++ b/include/surfaceflinger/Surface.h @@ -102,10 +102,6 @@ private: friend class Test; // videoEditor preview classes friend class VideoEditorPreviewController; - - const sp& getISurface() const { return mSurface; } - - friend class Surface; SurfaceControl( @@ -169,6 +165,7 @@ public: // setSwapRectangle() is intended to be used by GL ES clients void setSwapRectangle(const Rect& r); + sp asBinder() const; private: /* @@ -242,7 +239,6 @@ private: */ void init(); status_t validate(bool inCancelBuffer = false) const; - sp getISurface() const; // When the buffer pool is a fixed size we want to make sure SurfaceFlinger // won't stall clients, so we require an extra buffer. -- cgit v1.2.3-59-g8ed1b