| Index: include/gpu/gl/angle/SkANGLEGLContext.h
|
| diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h
|
| index 8850cd0bb5518f02dd92d5869cfb80ee0496d3ba..6590c765d89f060c59c0319522ac94154ca23356 100644
|
| --- a/include/gpu/gl/angle/SkANGLEGLContext.h
|
| +++ b/include/gpu/gl/angle/SkANGLEGLContext.h
|
| @@ -20,9 +20,9 @@ public:
|
| if (kGL_GrGLStandard == forcedGpuAPI) {
|
| return NULL;
|
| }
|
| - SkANGLEGLContext* ctx = SkNEW(SkANGLEGLContext);
|
| + SkANGLEGLContext* ctx = new SkANGLEGLContext;
|
| if (!ctx->isValid()) {
|
| - SkDELETE(ctx);
|
| + delete ctx;
|
| return NULL;
|
| }
|
| return ctx;
|
|
|