Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index dd33cff39f166cef5a137208b0783f3ac9c87896..aeaa595f8b6988745d3fdcea264de3915035bb8a 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -397,6 +397,9 @@ public: |
// This is only to be used in GL-specific tests. |
virtual const GrGLContext* glContextForTesting() const { return nullptr; } |
+ // This is only to be used by testing code |
+ virtual void resetShaderCacheForTesting() const {} |
+ |
protected: |
// Functions used to map clip-respecting stencil tests into normal |
// stencil funcs supported by GPUs. |