Index: src/gpu/gl/debug/SkDebugGLContext.h |
diff --git a/src/gpu/gl/debug/SkDebugGLContext.h b/src/gpu/gl/debug/SkDebugGLContext.h |
index abbcf559c58af39bfd7678bb3a64874b437e0a3f..113a254e0b7cc611143c2ea0e00d7eb2367e8d35 100644 |
--- a/src/gpu/gl/debug/SkDebugGLContext.h |
+++ b/src/gpu/gl/debug/SkDebugGLContext.h |
@@ -14,10 +14,7 @@ class SkDebugGLContext : public SkGLContext { |
public: |
~SkDebugGLContext() override; |
- static SkDebugGLContext* Create(GrGLStandard forcedGpuAPI) { |
- if (kGLES_GrGLStandard == forcedGpuAPI) { |
- return nullptr; |
- } |
+ static SkDebugGLContext* Create() { |
return new SkDebugGLContext; |
} |
private: |