diff options
Diffstat (limited to 'src/gpu/gl/GrGLContext.cpp')
-rw-r--r-- | src/gpu/gl/GrGLContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp index ee840b3aab..b4fb3ea219 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)); } |