Index: src/utils/win/SkWGL_win.cpp |
diff --git a/src/utils/win/SkWGL_win.cpp b/src/utils/win/SkWGL_win.cpp |
index 5c461385a433698b1e21e1541376e13520905c04..60f3cb34a44fbed32c2a52a2d16ddadf981ecfb4 100644 |
--- a/src/utils/win/SkWGL_win.cpp |
+++ b/src/utils/win/SkWGL_win.cpp |
@@ -432,7 +432,7 @@ SkWGLPbufferContext* SkWGLPbufferContext::Create(HDC parentDC, int msaaSampleCou |
if (dc) { |
HGLRC glrc = create_gl_context(dc, extensions, contextType); |
if (glrc) { |
- return SkNEW_ARGS(SkWGLPbufferContext, (pbuf, dc, glrc)); |
+ return new SkWGLPbufferContext(pbuf, dc, glrc); |
} |
extensions.releasePbufferDC(pbuf, dc); |
} |