Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index ab8e5cb5359a4e025f748a89a0db69fc365c6313..911b906a6947018e87faa3dd9a0baf445622c88a 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -268,7 +268,7 @@ bool GrGpu::getReadPixelsInfo(GrSurface* srcSurface, int width, int height, size |
return true; |
} |
-bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height, size_t rowBytes, |
+bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height, |
GrPixelConfig srcConfig, DrawPreference* drawPreference, |
WritePixelTempDrawInfo* tempDrawInfo) { |
SkASSERT(drawPreference); |
@@ -286,7 +286,7 @@ bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height, siz |
ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); |
} |
- if (!this->onGetWritePixelsInfo(dstSurface, width, height, rowBytes, srcConfig, drawPreference, |
+ if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference, |
tempDrawInfo)) { |
return false; |
} |