| Index: src/gpu/GrSurface.cpp
|
| diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
|
| index 1779f2441b46747cbc936cdc9c16d0eadc4311f2..1ca305b5a11080ea446db9b006e6424eb8b64e45 100644
|
| --- a/src/gpu/GrSurface.cpp
|
| +++ b/src/gpu/GrSurface.cpp
|
| @@ -123,14 +123,3 @@ bool GrSurface::hasPendingIO() const {
|
| }
|
| return false;
|
| }
|
| -
|
| -bool GrSurface::isSameAs(const GrSurface* other) const {
|
| - const GrRenderTarget* thisRT = this->asRenderTarget();
|
| - if (thisRT) {
|
| - return thisRT == other->asRenderTarget();
|
| - } else {
|
| - const GrTexture* thisTex = this->asTexture();
|
| - SkASSERT(thisTex); // We must be one or the other
|
| - return thisTex == other->asTexture();
|
| - }
|
| -}
|
|
|