diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 98d0ffcd33..4872db7309 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -109,8 +109,8 @@ public: const GrPipeline&, const GrBatchTracker&) const override; - virtual const GrGLInterface* glInterfaceForTesting() const { - return this->glInterface(); + const GrGLContext* glContextForTesting() const override { + return &this->glContext(); } private: @@ -300,7 +300,7 @@ private: void unbindTextureFromFBO(GrGLenum fboTarget); - SkAutoTDelete<GrGLContext> fGLContext; + SkAutoTUnref<GrGLContext> fGLContext; void createCopyProgram(); |