summaryrefslogtreecommitdiffstats
path: root/include/gui/Surface.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-15 16:34:04 -0800
committerMathias Agopian <mathias@google.com>2013-02-15 16:34:04 -0800
commitc4905eb49d20667381f3cda7c6f6894234404bd3 (patch)
treee66b6c010448a8592764173d104819ef711569f6 /include/gui/Surface.h
parentf25c5086cf46eb029d887f34f25a09220e44958c (diff)
downloadframeworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.zip
frameworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.tar.gz
frameworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.tar.bz2
fix build: SurfaceTextureClient to Surface rename
Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480
Diffstat (limited to 'include/gui/Surface.h')
-rw-r--r--include/gui/Surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h
index a48e7e4..bfd5a11 100644
--- a/include/gui/Surface.h
+++ b/include/gui/Surface.h
@@ -57,7 +57,7 @@ public:
static status_t writeToParcel(const sp<Surface>& surface, Parcel* parcel);
static sp<Surface> readFromParcel(const Parcel& data);
- bool isValid(const sp<Surface>& surface) const {
+ static bool isValid(const sp<Surface>& surface) {
return surface != NULL && surface->getIGraphicBufferProducer() != NULL;
}