Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index fd2908eb766e2a519d21d5a6cb866c960cdda9cd..ce98aa764ba11182a87f2911ea6a900c554b36ec 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -204,7 +204,7 @@ private: |
void onDraw(const DrawArgs&, const GrNonInstancedVertices&) override {} |
- bool onReadPixels(GrRenderTarget* target, |
+ bool onReadPixels(GrSurface* surface, |
int left, int top, int width, int height, |
GrPixelConfig, |
void* buffer, |
@@ -212,10 +212,10 @@ private: |
return false; |
} |
- bool onWriteTexturePixels(GrTexture* texture, |
- int left, int top, int width, int height, |
- GrPixelConfig config, const void* buffer, |
- size_t rowBytes) override { |
+ bool onWritePixels(GrSurface* surface, |
+ int left, int top, int width, int height, |
+ GrPixelConfig config, const void* buffer, |
+ size_t rowBytes) override { |
return false; |
} |