Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 088641b908c5fd0567a262faea39f3e295b2417f..d062a48129df89d09a5b4b4c016d58c0e64fd52a 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -397,14 +397,14 @@ |
return this->writePixels(surface, left, top, width, height, config, texels); |
} |
-bool GrGpu::transferPixels(GrTexture* texture, |
+bool GrGpu::transferPixels(GrSurface* surface, |
int left, int top, int width, int height, |
GrPixelConfig config, GrBuffer* transferBuffer, |
size_t offset, size_t rowBytes) { |
SkASSERT(transferBuffer); |
this->handleDirtyContext(); |
- if (this->onTransferPixels(texture, left, top, width, height, config, |
+ if (this->onTransferPixels(surface, left, top, width, height, config, |
transferBuffer, offset, rowBytes)) { |
fStats.incTransfersToTexture(); |
return true; |