Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 2a2dc955101fd380fbb50fd5bc7ca90edc3c6aba..03a8d54a6d999f135435d26070925e1895e35dae 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -258,19 +258,10 @@ |
class GrPipeline; |
-class MockCaps : public GrCaps { |
-public: |
- explicit MockCaps(const GrContextOptions& options) : INHERITED(options) {} |
- bool isConfigTexturable(GrPixelConfig config) const override { return false; } |
- bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const override { return false; } |
-private: |
- typedef GrCaps INHERITED; |
-}; |
- |
class MockGpu : public GrGpu { |
public: |
MockGpu(GrContext* context, const GrContextOptions& options) : INHERITED(context) { |
- fCaps.reset(new MockCaps(options)); |
+ fCaps.reset(new GrCaps(options)); |
} |
~MockGpu() override {} |