| Index: src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp
|
| diff --git a/src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp b/src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp
|
| index 7933757186d3eedcd7137706b70a41bb5898c3ff..cabd4431eb9360e728bca2d17bdadbc77d1bd37f 100644
|
| --- a/src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp
|
| +++ b/src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp
|
| @@ -332,9 +332,9 @@ GrGLFuncPtr GLXGLContext::onPlatformGetProcAddress(const char* procName) const {
|
| } // anonymous namespace
|
|
|
| SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI) {
|
| - GLXGLContext* ctx = SkNEW_ARGS(GLXGLContext, (forcedGpuAPI));
|
| + GLXGLContext *ctx = new GLXGLContext(forcedGpuAPI);
|
| if (!ctx->isValid()) {
|
| - SkDELETE(ctx);
|
| + delete ctx;
|
| return NULL;
|
| }
|
| return ctx;
|
|
|