| Index: src/gpu/gl/GrGLContext.cpp
|
| diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp
|
| index ee840b3aab78c8ec3d771e5fd4057972b2d074a9..b4fb3ea219063f9f86573239684dd0d2ad47b2dd 100644
|
| --- a/src/gpu/gl/GrGLContext.cpp
|
| +++ b/src/gpu/gl/GrGLContext.cpp
|
| @@ -60,7 +60,7 @@ GrGLContext* GrGLContext::Create(const GrGLInterface* interface, const GrContext
|
|
|
| args.fContextOptions = &options;
|
|
|
| - return SkNEW_ARGS(GrGLContext, (args));
|
| + return new GrGLContext(args);
|
| }
|
|
|
| GrGLContextInfo::GrGLContextInfo(const ConstructorArgs& args) {
|
| @@ -72,5 +72,5 @@ GrGLContextInfo::GrGLContextInfo(const ConstructorArgs& args) {
|
| fDriver = args.fDriver;
|
| fDriverVersion = args.fDriverVersion;
|
|
|
| - fGLCaps.reset(SkNEW_ARGS(GrGLCaps, (*args.fContextOptions, *this, fInterface)));
|
| + fGLCaps.reset(new GrGLCaps(*args.fContextOptions, *this, fInterface));
|
| }
|
|
|