| Index: src/gpu/gl/SkNullGLContext.cpp
|
| diff --git a/src/gpu/gl/SkNullGLContext.cpp b/src/gpu/gl/SkNullGLContext.cpp
|
| index e7270c32c47c6283f5d45e4f2be40bb520a0abda..dafa1ef0bc2c61bce33de698df356690ce66350c 100644
|
| --- a/src/gpu/gl/SkNullGLContext.cpp
|
| +++ b/src/gpu/gl/SkNullGLContext.cpp
|
| @@ -578,10 +578,7 @@ static void set_current_context_from_interface(const GrGLInterface* interface) {
|
| }
|
| #endif
|
|
|
| -SkNullGLContext* SkNullGLContext::Create(GrGLStandard forcedGpuAPI) {
|
| - if (kGLES_GrGLStandard == forcedGpuAPI) {
|
| - return nullptr;
|
| - }
|
| +SkNullGLContext* SkNullGLContext::Create() {
|
| SkNullGLContext* ctx = new SkNullGLContext;
|
| if (!ctx->isValid()) {
|
| delete ctx;
|
|
|