Chromium Code Reviews| Index: src/gpu/gl/GrGLGpu.h |
| diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
| index c777f7792a7063623914ceccb1ff5bdd2cd0427e..cd9496c7a094735ec0f4126f8a0c0f6f8ac09369 100644 |
| --- a/src/gpu/gl/GrGLGpu.h |
| +++ b/src/gpu/gl/GrGLGpu.h |
| @@ -114,6 +114,10 @@ public: |
| const GrPipeline&, |
| const GrBatchTracker&) const override; |
| + virtual const GrGLInterface* glInterfaceForTesting() const { |
| + return this->glInterface(); |
| + } |
| + |
| private: |
| GrGLGpu(GrGLContext* ctx, GrContext* context); |