| Index: src/gpu/gl/mesa/SkMesaGLContext.h
|
| diff --git a/src/gpu/gl/mesa/SkMesaGLContext.h b/src/gpu/gl/mesa/SkMesaGLContext.h
|
| index fa3df7b7c7b16a69e1eb9b1313ba5eb0f9589335..1548bfd8ee97714bef9aeafd3e55fae7f671109e 100644
|
| --- a/src/gpu/gl/mesa/SkMesaGLContext.h
|
| +++ b/src/gpu/gl/mesa/SkMesaGLContext.h
|
| @@ -23,9 +23,9 @@ public:
|
| if (kGLES_GrGLStandard == forcedGpuAPI) {
|
| return NULL;
|
| }
|
| - SkMesaGLContext* ctx = SkNEW(SkMesaGLContext);
|
| + SkMesaGLContext* ctx = new SkMesaGLContext;
|
| if (!ctx->isValid()) {
|
| - SkDELETE(ctx);
|
| + delete ctx;
|
| return NULL;
|
| }
|
| return ctx;
|
|
|