Index: src/gpu/gl/debug/SkDebugGLContext.h |
diff --git a/src/gpu/gl/debug/SkDebugGLContext.h b/src/gpu/gl/debug/SkDebugGLContext.h |
index 577953223a1832b7342a05f468498fe70f31f20d..6a4d9fc38bb7130cc47704e614c998d266b6e6bb 100644 |
--- a/src/gpu/gl/debug/SkDebugGLContext.h |
+++ b/src/gpu/gl/debug/SkDebugGLContext.h |
@@ -13,8 +13,6 @@ |
class SkDebugGLContext : public SkGLContext { |
public: |
~SkDebugGLContext() override; |
- void makeCurrent() const override {} |
- void swapBuffers() const override {} |
static SkDebugGLContext* Create(GrGLStandard forcedGpuAPI) { |
if (kGLES_GrGLStandard == forcedGpuAPI) { |
@@ -23,6 +21,10 @@ public: |
return SkNEW(SkDebugGLContext); |
} |
private: |
+ void onPlatformMakeCurrent() const override {} |
+ void onPlatformSwapBuffers() const override {} |
+ GrGLFuncPtr onPlatformGetProcAddress(const char*) const override { return NULL; } |
+ |
SkDebugGLContext(); |
}; |