| Index: src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
|
| diff --git a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
|
| index d2d8569938665b8689d112a503707a0e391c8b72..4754c0155741d243060fd9921f124c20244aafbe 100644
|
| --- a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
|
| +++ b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
|
| @@ -110,9 +110,9 @@ SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI) {
|
| if (kGLES_GrGLStandard == forcedGpuAPI) {
|
| return NULL;
|
| }
|
| - MacGLContext* ctx = SkNEW(MacGLContext);
|
| + MacGLContext* ctx = new MacGLContext;
|
| if (!ctx->isValid()) {
|
| - SkDELETE(ctx);
|
| + delete ctx;
|
| return NULL;
|
| }
|
| return ctx;
|
|
|