From a2c2323005fb22e564426f4ed86adaa6d213aba1 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 25 Nov 2014 07:41:12 -0800 Subject: Remove GrSurface::isSameAs Review URL: https://codereview.chromium.org/753783003 --- src/gpu/GrSurfacePriv.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gpu/GrSurfacePriv.h') diff --git a/src/gpu/GrSurfacePriv.h b/src/gpu/GrSurfacePriv.h index 3203671fad..3c1e9c1e95 100644 --- a/src/gpu/GrSurfacePriv.h +++ b/src/gpu/GrSurfacePriv.h @@ -23,13 +23,6 @@ public: */ SkImageInfo info() const { return fSurface->info(); } - /** - * Checks whether this GrSurface refers to the same GPU object as other. This - * catches the case where a GrTexture and GrRenderTarget refer to the same - * GPU memory. - */ - bool isSameAs(const GrSurface* other) const { return fSurface->isSameAs(other); } - /** * Write the contents of the surface to a PNG. Returns true if successful. * @param filename Full path to desired file -- cgit v1.2.3