Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 0b3d030cdb61244d061c6da745b01a9295f74e1e..0801d03a6c59c31a10ab4266dca935be0b1bc1a1 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -138,7 +138,7 @@ class GrPipeline; |
class MockGpu : public GrGpu { |
public: |
- MockGpu(GrContext* context) : INHERITED(context) { fCaps.reset(SkNEW(GrDrawTargetCaps)); } |
+ MockGpu(GrContext* context) : INHERITED(context) { fCaps.reset(SkNEW(GrCaps)); } |
~MockGpu() override {} |
bool canWriteTexturePixels(const GrTexture*, GrPixelConfig srcConfig) const override { |
return true; |