diff options
| author | 2011-04-05 15:44:20 -0700 | |
|---|---|---|
| committer | 2011-04-05 20:11:55 -0700 | |
| commit | c8a04b536bb8ad12a87e6dd68d66cff1e7fcd7e7 (patch) | |
| tree | 8e8018a9898f9785eeef5e8484c93d51cee4f052 /libs/gui/Surface.cpp | |
| parent | fb96b5ece35ed3c0f3e682d1f9864d7700fe63fc (diff) | |
remove more unused references to ISurface
Change-Id: I2201f1ca2bb8f203a081d94a0134f798778dfbef
Diffstat (limited to 'libs/gui/Surface.cpp')
| -rw-r--r-- | libs/gui/Surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 0dfbf01aa449..44d9b4b4d329 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -502,8 +502,8 @@ status_t Surface::validate(bool inCancelBuffer) const return NO_ERROR; } -sp<ISurface> Surface::getISurface() const { - return mSurface; +sp<IBinder> Surface::asBinder() const { + return mSurface!=0 ? mSurface->asBinder() : 0; } // ---------------------------------------------------------------------------- |