Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 877c21fc7e29e7ff28ad3ef2c8493feec44b5a9b..4711ac4c6bfb1e43a8eac0f4e1be1731b1ee8349 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -2489,8 +2489,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 |