Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 89f26efe22b619d72c16dcedf94ea94b99e5766b..a17329f69f2fc34cb8d694aacb65d30ac25225d3 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -2490,8 +2490,8 @@ bool GrGpuGL::copySurface(GrSurface* dst, |
return copied; |
} |
-bool GrGpuGL::canCopySurface(GrSurface* dst, |
- GrSurface* src, |
+bool GrGpuGL::canCopySurface(const GrSurface* dst, |
+ const GrSurface* src, |
const SkIRect& srcRect, |
const SkIPoint& dstPoint) { |
// This mirrors the logic in onCopySurface. We prefer our base makes the copy if we need to |