Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 20669b8e78bfcd7677cce97ff2a8575cb8516622..552e2ae7338f78e6a238c02517cb07e0e401a250 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -2716,10 +2716,10 @@ bool GrGLGpu::initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) |
return true; |
} |
-bool GrGLGpu::copySurface(GrSurface* dst, |
- GrSurface* src, |
- const SkIRect& srcRect, |
- const SkIPoint& dstPoint) { |
+bool GrGLGpu::onCopySurface(GrSurface* dst, |
+ GrSurface* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint) { |
if (src->asTexture() && dst->asRenderTarget()) { |
this->copySurfaceAsDraw(dst, src, srcRect, dstPoint); |
return true; |